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

m (Bot: Adding a template (template:mIRC identifier list))
m
 
(6 intermediate revisions by one other user not shown)
Line 1: Line 1:
The '''$cmdbox''' identifier will return [[$true identifier - mIRC|$true]] if a command or script was initiated via the ''command editbox''. Otherwise, it will return [[$false identifier - mIRC|$false]].
+
{{mirc title|$cmdbox Identifier}}The '''$cmdbox''' identifier will return {{mIRC|$true}} if a command or script was initiated via the ''command editbox''. Otherwise, it will return {{mIRC|$false}}.
 +
 
  
 
== Synopsis ==
 
== Synopsis ==
Line 20: Line 21:
 
<source lang="mIRC">//echo -a $cmdbox</source>
 
<source lang="mIRC">//echo -a $cmdbox</source>
  
Depending on which window you performed this on first, the echo will show either [[$true identifier - mIRC|$true]], or [[$false identifier - mIRC|$false]].
+
Depending on which window you performed this on first, the echo will show either {{mIRC|$true}}, or {{mIRC|$false}}.
  
 
== Compatibility ==
 
== Compatibility ==
Added: mIRC v6.01
+
{{mIRC compatibility|6.01}}
 
 
Added On: 10/02/2002
 
  
 
== See Also ==
 
== See Also ==
* [[/editbox command - mIRC|/editbox]]
+
* {{mIRC|/editbox}}
 
{{mIRC identifier list}}
 
{{mIRC identifier list}}
  
[[Category:MIRC identifiers]]
+
[[Category:mIRC identifiers|cmdbox]]

Latest revision as of 14:40, 20 September 2017

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