m (PatrolBot moved page On rawmode - mIRC to mirc/on events/on rawmode: per new naming convention) |
m (→Parameters: Link access levels) |
||
(3 intermediate revisions by 3 users not shown) | |||
Line 1: | Line 1: | ||
+ | {{mirc title|On Rawmode - Events}} | ||
The '''ON RAWMODE''' allows a script to intercept and interpret the modes of a channel directly, avoiding mIRC's messages and notifications altogether. | The '''ON RAWMODE''' allows a script to intercept and interpret the modes of a channel directly, avoiding mIRC's messages and notifications altogether. | ||
Line 5: | Line 6: | ||
== 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;">'''#[,#]'''</span>The channel, or channel names, to listen on. | <span style="display: inline-block; width: 105px;">'''#[,#]'''</span>The channel, or channel names, to listen on. | ||
<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. | ||
− | |||
== Example == | == Example == | ||
Line 27: | Line 27: | ||
{{mIRC on event list}} | {{mIRC on event list}} | ||
− | [[Category: | + | [[Category:mIRC on events|rawmode]] |
Latest revision as of 08:03, 6 February 2024
The ON RAWMODE allows a script to intercept and interpret the modes of a channel directly, avoiding mIRC's messages and notifications altogether.
Synopsis[edit]
ON <level>:RAWMODE:<#[,#]>:<commands>
Parameters[edit]
<level>The corresponding access levels for the event to trigger.
#[,#]The channel, or channel names, to listen on.
<commands>The commands to be performed when the event listener's criteria is met.
Example[edit]
Intercept all RAWMODE events, echo them to the target window in plain text, and halt mIRC's notifications:
ON ^*:RAWMODE:*: { echo $target * RAWMODE: $1- haltdef }
Compatibility[edit]
Added: mIRC v5.6
Added on: 03 Jun 1999
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 |
R on Rawmode 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 |