On mode

From Scriptwiki
Revision as of 16:23, 22 November 2005 by Doomie (talk | contribs) (adding Albie's example as soon as its ready ;))

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

The on MODE event triggers when a user changes a channel mode.

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

Note that it does only trigger when a channel mode is changed, not when a user mode is changed.

Remember, that you need to specify a limit to set +l and a key to set and unset +k, but you dont need to specify a limit to unset +l. For additional info, read raw 005.

Example

See Also

To react on modes set by a server, take a look at the On servermode event.