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

(Created On rawmode event - mIRC)
 
m (Bot: Adding a template (template:mIRC on event list))
Line 27: Line 27:
 
* [[On mode - mIRC|ON MODE]]
 
* [[On mode - mIRC|ON MODE]]
 
* [[Raw Events - mIRC|RAW Events]]
 
* [[Raw Events - mIRC|RAW Events]]
 +
{{mIRC on event list}}
  
[[Category:mIRC on events]]
+
[[Category:MIRC on events]]

Revision as of 23:08, 3 July 2014

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/06/99

See Also