From WikiChip
Difference between revisions of "mirc/identifiers/$agent"
(→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 | ||
|- | |- | ||
− | + | | '''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 13:21, 17 December 2015
Commands & Identifiers
Basics
Events
Matching Tools
Data Storage
Control Structures
GUI Scripting
Sockets
Advanced Scripting
Additional Resources
Security
Other
$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.