From WikiChip
Difference between revisions of "mirc/identifiers/$agentname"
m |
|||
(3 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
− | '''$agentname''' can be used in conjunction with the | + | {{mirc title|$agentname identifier}}'''$agentname''' can be used in conjunction with the {{mirc|on agent}} in order to return the name of the Agent associated with the event. |
+ | |||
== Synopsis == | == Synopsis == | ||
Line 8: | Line 9: | ||
== Example == | == Example == | ||
− | + | After the ON AGENT Event triggers, return the name of the Agent that just finished speaking: | |
<source lang="mIRC">ON *:AGENT:echo -a $agentname has just finished speaking.</source> | <source lang="mIRC">ON *:AGENT:echo -a $agentname has just finished speaking.</source> | ||
== Compatibility == | == Compatibility == | ||
− | + | {{mIRC compatibility|5.9}} | |
− | |||
− | |||
== See Also == | == See Also == | ||
− | * | + | * {{mirc|on agent}} |
− | + | * {{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|$agentstat}} |
− | + | * {{mirc|$agentver}} | |
− | * | + | {{mIRC identifier list}} |
− | + | [[Category:mIRC identifiers|agentname]] | |
− | * | ||
− | |||
− | * | ||
− | |||
− | * | ||
− | |||
− | * | ||
− | |||
− | * | ||
− | |||
− | * | ||
− | |||
− |
Latest revision as of 06:06, 21 September 2017
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[edit]
$agentname
Parameters[edit]
None
Example[edit]
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[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.
See Also[edit]
- on agent
- /gload
- /gunload
- /gshow
- /ghide
- /gmove
- /gsize
- /gtalk
- /gplay
- /gpoint
- /gstop
- /gopts
- /gqreq
- $agent
- $agentstat
- $agentver
mIRC identifier list