From WikiChip
Difference between revisions of "mirc/identifiers/$agentname"
(ac) |
m |
||
(One intermediate revision by the same user not shown) | |||
Line 1: | Line 1: | ||
{{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. | {{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 == | ||
Line 33: | Line 32: | ||
* {{mirc|$agentstat}} | * {{mirc|$agentstat}} | ||
* {{mirc|$agentver}} | * {{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