From WikiChip
mirc/identifiers/$agentname
< mirc‎ | identifiers
Revision as of 13:55, 23 June 2014 by Zmodem (talk | contribs) (Created $agentname identifier - mIRC)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

$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