From WikiChip
Difference between revisions of "mirc/on events/on rawmode"
< mirc‎ | on events

m (Bot: Fixing compatibility)
m (Bot: adding missing title)
(4 intermediate revisions by 2 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 27: Line 28:
 
{{mIRC on event list}}
 
{{mIRC on event list}}
  
[[Category:MIRC on events]]
+
[[Category:mIRC on events|rawmode]]

Revision as of 20:21, 15 June 2017

The ON RAWMODE allows a script to intercept and interpret the modes of a channel directly, avoiding mIRC's messages and notifications altogether.

Synopsis

ON <level>:RAWMODE:<#[,#]>:<commands>

Parameters

<level>The level 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

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

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