From WikiChip
$agentname identifier - mIRC
< mirc‎ | identifiers

$agentname can be used in conjunction with the on agent in order to return the name of the Agent associated with the event.


Synopsis[edit]

$agentname

Parameters[edit]

None

Example[edit]

After the ON AGENT Event triggers, return the name of the Agent that just finished speaking:

ON *:AGENT:echo -a $agentname has just finished speaking.

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