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

(Created On wallops event - mIRC)
 
m (Parameters: Link access levels)
 
(10 intermediate revisions by 4 users not shown)
Line 1: Line 1:
 +
{{mirc title|On Wallops - Events}}
 
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 ==
Line 7: Line 8:
  
 
== Parameters ==
 
== Parameters ==
<span style="display: inline-block; width: 105px;">'''<level>'''</span>The level for the event to trigger.
+
<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;">'''<matchtext>'''</span>The text that to be matched. Can also be a [[wildcard]].
+
<span style="display: inline-block; width: 105px;">'''<matchtext>'''</span>The text that to be matched. Can also be a {{mirc|wildcard}}.
  
 
<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 21: Line 22:
  
 
== Compatibility ==
 
== Compatibility ==
Added: mIRC v4.6
+
{{mIRC compatibility|4.6}}
 
 
Added On: 07/09/96
 
  
 
== See Also ==
 
== See Also ==
 
* [[On snotice - mIRC|ON SNOTICE]]
 
* [[On snotice - mIRC|ON SNOTICE]]
 +
{{mIRC on event list}}
  
[[Category:mIRC on events]]
+
[[Category:mIRC on events|wallops]]

Latest revision as of 08:17, 6 February 2024

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[edit]

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

Parameters[edit]

<level>The corresponding access levels 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[edit]

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[edit]

Added: mIRC v4.6
Added on: 07 Sep 1996
Note: Unless otherwise stated, this was the date of original functionality.
Further enhancements may have been made in later versions.


See Also[edit]