From WikiChip
Difference between revisions of "mirc/on events/on agent"
(→Example) |
(→Example) |
||
Line 11: | Line 11: | ||
== Example == | == Example == | ||
− | '''After an Agent finishes speaking, | + | '''After an Agent finishes speaking, echoes that it finished''''' |
<source lang="mIRC">ON *:AGENT:echo -s agent finished talking</source> | <source lang="mIRC">ON *:AGENT:echo -s agent finished talking</source> | ||
Revision as of 17:36, 23 July 2014
The ON AGENT can be used in order to trigger events that you want to occur when an Agent has finished speaking.
Synopsis
ON <level>:AGENT:<commands>
Parameters
<level>This is the user level of the agent trigger. More than likely, you want this set to either * or 1.
<commands>This is the area in which you want to perform the commands to execute after an Agent has finished speaking.
Example
After an Agent finishes speaking, echoes that it finished
ON *:AGENT:echo -s agent finished talking
Compatibility
Added: mIRC v5.9
Addon On: 26/04/2001