From WikiChip
$cmdbox Identifier - mIRC
< mirc‎ | identifiers

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


Synopsis[edit]

$cmdbox

Parameters[edit]

None

Command editbox[edit]

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[edit]

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[edit]

Added: mIRC v6.01
Added on: 10 Feb 2002
Note: Unless otherwise stated, this was the date of original functionality.
Further enhancements may have been made in later versions.


See Also[edit]

[Expand]
v · d · e mIRC identifier list