m (Bot: Adding a template (template:mIRC on event list)) |
m (→Parameters: Link access levels) |
||
(8 intermediate revisions by 3 users not shown) | |||
Line 1: | Line 1: | ||
+ | {{mirc title|On Usermode - Events}} | ||
The '''ON USERMODE''' event triggers when the local mIRC client's usermodes have been changed on a connection. | The '''ON USERMODE''' event triggers when the local mIRC client's usermodes have been changed on a connection. | ||
− | This event fills the '''$-''' identifier with the new usermodes for the client. | + | This event fills the '''$1-''' identifier with the new usermodes for the client. |
== Synopsis == | == Synopsis == | ||
Line 7: | Line 8: | ||
== Parameters == | == Parameters == | ||
− | <span style="display: inline-block; width: 105px;">'''<level>'''</span>The | + | <span style="display: inline-block; width: 105px;"> '''<level>'''</span>The corresponding {{mIRC|access levels}} for the event to trigger. |
<span style="display: inline-block; width: 105px;">'''<commands>'''</span>The commands to be performed when the event listener's criteria is met. | <span style="display: inline-block; width: 105px;">'''<commands>'''</span>The commands to be performed when the event listener's criteria is met. | ||
Line 19: | Line 20: | ||
== Compatibility == | == Compatibility == | ||
− | + | {{mIRC compatibility|5.0}} | |
− | |||
− | |||
== See Also == | == See Also == | ||
Line 28: | Line 27: | ||
{{mIRC on event list}} | {{mIRC on event list}} | ||
− | [[Category: | + | [[Category:mIRC on events|usermode]] |
Latest revision as of 08:16, 6 February 2024
The ON USERMODE event triggers when the local mIRC client's usermodes have been changed on a connection.
This event fills the $1- identifier with the new usermodes for the client.
Synopsis[edit]
ON <level>:USERMODE:<commands>
Parameters[edit]
<level>The corresponding access levels for the event to trigger.
<commands>The commands to be performed when the event listener's criteria is met.
Example[edit]
Halt the default mIRC response, and then echo the new details to the active window:
ON ^*:USERMODE: { echo -a * You have set new usermodes: $1- haltdef }
Compatibility[edit]
Added: mIRC v5.0
Added on: 02 Apr 1997
Note: Unless otherwise stated, this was the date of original functionality.
Further enhancements may have been made in later versions.
See Also[edit]
A on Action, on Active, on Agent, on Appactive B on Ban C on Char, on Chat, on Chatclose, on Chatopen, on Close, on Connect, on Connectfail, on Ctcpreply D on Dccserver, on Dehelp, on Deop, on Deowner, on Devoice, on Dialog, on Disconnect, on Dns |
J on Join K on Keydown, on Keyup, on Kick M on Midiend, on Mode, on Mp3end N on Nick, on Nosound, on Notice, on Notify |
S on Sendfail, on Serv, on Servclose, on Servopen, on Servermode, on Serverop, on Signal, on Snotice, on Sockclose, on Socklisten, on Sockopen, on Sockread, on Sockwrite, on Start U on Udpread, on Udpwrite, on Unban, on Unload, on Unotify, on Usermode |