On voice: Difference between revisions

From Scriptwiki
Jump to navigation Jump to search
Doomie (talk | contribs)
No edit summary
 
Tovrleaf (talk | contribs)
No edit summary
 
Line 3: Line 3:
  on <level>:VOICE:<#[,#]>:<commands>
  on <level>:VOICE:<#[,#]>:<commands>


$vnick refers to the user who was voiced.
[[$vnick]] refers to the user who was voiced.


== Example ==
== Example ==
Line 9: Line 9:
Triggers when a user with level 999 was voiced in #help.script or #mIRC and devoices him again:
Triggers when a user with level 999 was voiced in #help.script or #mIRC and devoices him again:


  on 999:VOICE:#help.script,#mIRC: { mode $chan -v $vnick }
  on 999:VOICE:#help.script,#mIRC: { [[mode]] [[$chan]] -v $vnick }


== See Also ==
== See Also ==


[[On_devoice|On devoice]] triggers when a user was devoiced.
* [[On_devoice|On devoice]] triggers when a user was devoiced.
* [[Access Levels]]


[[Category:Events]]
[[Category:Events]]

Latest revision as of 18:00, 5 September 2005

The on VOICE event triggers when a user on a channel is voiced.

on <level>:VOICE:<#[,#]>:<commands>

$vnick refers to the user who was voiced.

Example

Triggers when a user with level 999 was voiced in #help.script or #mIRC and devoices him again:

on 999:VOICE:#help.script,#mIRC: { mode $chan -v $vnick }

See Also