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

(Synopsis)
(Properties)
Line 11: Line 11:
  
 
== Properties ==
 
== Properties ==
 
+
When N is passed as a parameter, the following property is available:
 
{| class="wikitable" style="margin-left: 75px;"
 
{| class="wikitable" style="margin-left: 75px;"
 
|-
 
|-
 
! Property !! Description
 
! Property !! Description
 
|-
 
|-
| '''hide''' || Returns {{mIRC|$true}} if the agent is hidden, {{mIRC|$false}} otherwise.
+
| '''char''' || Returns the character name of the Nth agent instead of the filename.
|-
 
| '''char''' || Returns the character name of the Nth agent.
 
 
|}
 
|}
  

Revision as of 14:21, 17 December 2015

$agent returns the filename of the Nth available agent installed on your system.

Synopsis

$agent(N).property
$agent(name).property

Paramters

None

Properties

When N is passed as a parameter, the following property is available:

Property Description
char Returns the character name of the Nth agent instead of the filename.

Example

//echo -a $agent(0)

Compatibility

Added: mIRC v6.32
Added on: 21 May 2008
Note: Unless otherwise stated, this was the date of original functionality.
Further enhancements may have been made in later versions.


See Also

$agentname $agentopts $treebar