From WikiChip
mirc/identifiers/$cmdbox
< mirc‎ | identifiers
Revision as of 12:45, 1 July 2014 by Zmodem (talk | contribs) (Created $cmdbox identifier - mIRC)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

The $cmdbox identifier will return $true if a command or script was initiated via the command editbox. Otherwise, it will return $false.

Synopsis

$cmdbox

Parameters

None

Command editbox

The command editbox is actived by typing the following command in any mIRC window:

/editbox -q1

This will enable the secondary command-line, which is the command editbox, in the current window for which this identifier is useful for.

Example

Create a command editbox in the active window:

/editbox -q1

Next, type the following in both editboxes, and hit the Enter key:

//echo -a $cmdbox

Depending on which window you performed this on first, the echo will show either $true, or $false.

Compatibility

Added: mIRC v6.01

Added On: 10/02/2002

See Also