On voice

From Scriptwiki
Revision as of 18:23, 5 September 2005 by Doomie (talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

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

On devoice triggers when a user was devoiced.