From WikiChip
Difference between revisions of "mirc/on events/on agent"
< mirc‎ | on events

m
Line 46: Line 46:
 
* {{mIRC|$agentstat}}
 
* {{mIRC|$agentstat}}
 
* {{mIRC|$agentver}}
 
* {{mIRC|$agentver}}
 +
* [[List of on events - mIRC|mIRC Events]]
 +
 +
[[Category:mIRC on events|agent]]

Revision as of 10:43, 21 September 2017

The ON AGENT triggers when an Agent has finished speaking.

Synopsis

ON <level>:AGENT:<commands>

Parameters

  • <level> - The corresponding access levels for the event to trigger.
  • <commands> - This is the area in which you want to perform the commands to execute after an Agent has finished speaking.

local identifiers

The on agent event expose one local identifier:

$agentname

Return the name of the agent triggering the event

Example

After an Agent finishes speaking, echoes that it finished

ON *:AGENT:echo -s agent $agentname finished talking

Compatibility

Added: mIRC v5.9

Addon On: 26/04/2001

See Also