Difference between revisions of "On devoice"

From Scriptwiki
Jump to: navigation, search
 
 
Line 3: Line 3:
 
  on <level>:DEVOICE:<#[,#]>:<commands>
 
  on <level>:DEVOICE:<#[,#]>:<commands>
  
$vnick refers to the user who was devoiced.
+
[[$vnick]] refers to the user who was devoiced.
  
 
== Example ==
 
== Example ==
Line 13: Line 13:
 
== See Also ==
 
== See Also ==
  
[[On_voice|On voice]] triggers when a user was voiced.
+
* [[On_voice|On voice]] triggers when a user was voiced.
 +
* [[Access Levels]]
  
 
[[Category:Events]]
 
[[Category:Events]]

Latest revision as of 18:59, 5 September 2005

The on DEVOICE event triggers when a user on a channel is devoiced.

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

$vnick refers to the user who was devoiced.

Example

Triggers when a user with level owner was devoiced in #help.script or #mIRC and voices him again:

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

See Also