From WikiChip
$agentname identifier - mIRC
Commands & Identifiers
Basics
Events
Matching Tools
Data Storage
Control Structures
GUI Scripting
Sockets
Advanced Scripting
Additional Resources
Security
Other
$agentname can be used in conjunction with the on agent 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