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

m (Bot: Adding a template (template:mIRC on event list))
m (Bot: Fixing links)
Line 1: Line 1:
 
The '''ON WALLOPS''' event triggers when an [[Irc operator - IRC|IRC Operator]] issues a network-wide important notice.
 
The '''ON WALLOPS''' event triggers when an [[Irc operator - IRC|IRC Operator]] issues a network-wide important notice.
  
This event fills the '''$1-''' and '''[[$nick identifier - mIRC|$nick]]''' identifiers with the full text of the [[Wallop - IRC|WALLOP]], and the operator's name who issued it, respectively.
+
This event fills the '''$1-''' and '''{{mIRC|$nick}}''' identifiers with the full text of the [[Wallop - IRC|WALLOP]], and the operator's name who issued it, respectively.
  
 
== Synopsis ==
 
== Synopsis ==

Revision as of 21:11, 5 July 2014

The ON WALLOPS event triggers when an IRC Operator issues a network-wide important notice.

This event fills the $1- and $nick identifiers with the full text of the WALLOP, and the operator's name who issued it, respectively.

Synopsis

ON <level>:WALLOPS:<matchtext>:<commands>

Parameters

<level>The level for the event to trigger.

<matchtext>The text that to be matched. Can also be a wildcard.

<commands>The commands to be performed when the event listener's criteria is met.

Example

Echo to the active window the current date/time, the IRC operator's name who sent the WALLOP, the WALLOP message, and prevent the default response:

ON ^*:WALLOPS:*: {
  echo -a [[ $asctime ]] ==> WALLOP From $nick :: Message:
  haltdef
}

Compatibility

Added: mIRC v4.6

Added On: 07/09/96

See Also