From WikiChip
mirc/identifiers/$agentname
< mirc‎ | identifiers
Revision as of 13:28, 6 January 2016 by PatrolBot (talk | contribs) (PatrolBot moved page $agentname identifier - mIRC to mirc/identifiers/$agentname: auto-move)

$agentname can be used in conjunction with the ON AGENT Event in order to return the name of the Agent associated with the event.

Synopsis

$agentname

Parameters

None

Example

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

Added: mIRC v5.9

Addon On: 26/04/2001

See Also