From WikiChip
Difference between revisions of "mirc/identifiers/$cmdbox"
< mirc‎ | identifiers

(Created $cmdbox identifier - mIRC)
 
m (Bot: Adding a template (template:mIRC identifier list))
Line 29: Line 29:
 
== See Also ==
 
== See Also ==
 
* [[/editbox command - mIRC|/editbox]]
 
* [[/editbox command - mIRC|/editbox]]
 +
{{mIRC identifier list}}
  
[[Category:mIRC identifiers]]
+
[[Category:MIRC identifiers]]

Revision as of 23:10, 3 July 2014

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

[Expand]
v · d · e mIRC identifier list