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

m (bot: correcting title)
m
 
Line 1: Line 1:
{{mirc title|$yes Identifier}}The '''$yes''' identifier is returned when the ''yes'' button of an {{mIRC|$input}} box has been pressed and the '''v''' switch has been invoked on the {{mIRC|$input}} box.
+
{{mirc title|$yes Identifier}}The '''$yes''' identifier is returned when an {{mIRC|$input}} box has been invoked with the '''v''' switch and the '''Yes''' button was pressed.
 +
 
  
 
== Synopsis ==
 
== Synopsis ==
Line 5: Line 6:
  
 
== Parameters ==
 
== Parameters ==
 +
None
 +
 +
== Properties ==
 
None
 
None
  
 
== Example ==
 
== Example ==
'''Creates an input with a yes button that will echo results to the active window'''
+
Create an input with a yes button that will echo results to the active window:
 
<source lang="mIRC">//echo -a $input(Click yes to see the result.,yv)</source>
 
<source lang="mIRC">//echo -a $input(Click yes to see the result.,yv)</source>
  
Line 14: Line 18:
 
{{mIRC compatibility|5.9}}
 
{{mIRC compatibility|5.9}}
  
== See Also ==
+
== See also ==
 
* {{mIRC|$cancel}}
 
* {{mIRC|$cancel}}
 
* {{mIRC|$false}}
 
* {{mIRC|$false}}
Line 23: Line 27:
 
{{mIRC identifier list}}
 
{{mIRC identifier list}}
  
[[Category:MIRC identifiers]]
+
[[Category:mIRC identifiers|yes]]

Latest revision as of 18:09, 22 September 2017

The $yes identifier is returned when an $input box has been invoked with the v switch and the Yes button was pressed.


Synopsis[edit]

$yes

Parameters[edit]

None

Properties[edit]

None

Example[edit]

Create an input with a yes button that will echo results to the active window:

//echo -a $input(Click yes to see the result.,yv)

Compatibility[edit]

Added: mIRC v5.9
Added on: 26 Apr 2001
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