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

m
Line 1: Line 1:
 
The '''$agentstat''' identifier is used to retrieve the current status of your user-agent.
 
The '''$agentstat''' identifier is used to retrieve the current status of your user-agent.
  
= Synopsis =
+
== Synopsis ==
 
<pre>$agentstat</pre>
 
<pre>$agentstat</pre>
  
= Switches =
+
== Switches ==
 
None
 
None
  
= Results =
+
== Results ==
 
<span style="display: inline-block; width: 20px;">'''0'''</span>User-agent is currently busy speaking.
 
<span style="display: inline-block; width: 20px;">'''0'''</span>User-agent is currently busy speaking.
  
 
<span style="display: inline-block; width: 20px;">'''1'''</span>User-agent is ready for commands.
 
<span style="display: inline-block; width: 20px;">'''1'''</span>User-agent is ready for commands.
  
= Example =
+
== Example ==
 
'''Echo the current user-agent status to the active window'''
 
'''Echo the current user-agent status to the active window'''
 
<source lang="mIRC">//echo -a $agentstat</source>
 
<source lang="mIRC">//echo -a $agentstat</source>
  
= Compatibility =
+
== Compatibility ==
 
Added: mIRC v5.7
 
Added: mIRC v5.7
  
 
Addon On: 02/02/2000
 
Addon On: 02/02/2000
  
= See Also =
+
== See Also ==
 
* [[/gload command - mIRC|/gload]]
 
* [[/gload command - mIRC|/gload]]
  

Revision as of 15:22, 23 June 2014

The $agentstat identifier is used to retrieve the current status of your user-agent.

Synopsis

$agentstat

Switches

None

Results

0User-agent is currently busy speaking.

1User-agent is ready for commands.

Example

Echo the current user-agent status to the active window

//echo -a $agentstat

Compatibility

Added: mIRC v5.7

Addon On: 02/02/2000

See Also