From WikiChip
Difference between revisions of "mirc/on events/on agent"
(→Example) |
m |
||
(10 intermediate revisions by 3 users not shown) | |||
Line 1: | Line 1: | ||
− | The '''ON AGENT''' | + | The '''ON AGENT''' triggers when an Agent has finished speaking. |
== Synopsis == | == Synopsis == | ||
Line 5: | Line 5: | ||
== Parameters == | == Parameters == | ||
− | + | * '''<level>''' - The corresponding {{mIRC|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. | |
− | == | + | == {{mIRC|local identifiers}} == |
− | + | The on agent event expose one local identifier: | |
− | |||
− | == | + | === {{mIRC|$agentname}} === |
− | |||
− | + | Return the name of the agent triggering the event | |
− | == | + | == Example == |
− | |||
− | * | + | '''After an Agent finishes speaking, echoes that it finished''''' |
+ | <source lang="mIRC">ON *:AGENT:echo -s agent $agentname finished talking</source> | ||
− | + | == Compatibility == | |
+ | {{mIRC compatibility|5.9}} | ||
− | + | == See Also == | |
− | + | * [[List of on events - mIRC|mIRC Events]] | |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | * [[ | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | * [[ | + | * {{mIRC|/gload}} |
+ | * {{mIRC|/gunload}} | ||
+ | * {{mIRC|/gshow}} | ||
+ | * {{mIRC|/ghide}} | ||
+ | * {{mIRC|/gmove}} | ||
+ | * {{mIRC|/gsize}} | ||
+ | * {{mIRC|/gtalk}} | ||
+ | * {{mIRC|/gplay}} | ||
+ | * {{mIRC|/gpoint}} | ||
+ | * {{mIRC|/gstop}} | ||
+ | * {{mIRC|/gopts}} | ||
+ | * {{mIRC|/gqreq}} | ||
+ | * {{mIRC|$agent}} | ||
+ | * {{mIRC|$agentname}} | ||
+ | * {{mIRC|$agentstat}} | ||
+ | * {{mIRC|$agentver}} | ||
+ | * [[List of on events - mIRC|mIRC Events]] | ||
− | + | [[Category:mIRC on events|agent]] |
Latest revision as of 10:44, 21 September 2017
The ON AGENT triggers when an Agent has finished speaking.
Contents
Synopsis[edit]
ON <level>:AGENT:<commands>
Parameters[edit]
- <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[edit]
The on agent event expose one local identifier:
$agentname[edit]
Return the name of the agent triggering the event
Example[edit]
After an Agent finishes speaking, echoes that it finished
ON *:AGENT:echo -s agent $agentname finished talking
Compatibility[edit]
Added: mIRC v5.9
Added on: 26 Apr 2001
Note: Unless otherwise stated, this was the date of original functionality.
Further enhancements may have been made in later versions.