Valhalla Legends Forums Archive | Spht's Forum | Script

AuthorMessageTime
Spht
This script will prevent users with attribute T from chatting in the channel.  Note S flag overrides T, and T can only be set by users with attribute N.

It first warns them with kick, then bans if they come back and chat after that.  This covers both normal chat and emoted chat.

[quote]&5&&BT&&&
&5&&IT&&&
&5&&ST&&&
&5&&TZ&&&
&5&&T&23 != $1&&+/kick %1 No chatting.  This is a warning
&5&&T&23 == $1&&+/ban %1 You've been warned
&5&&T&&&:set 4 $1

&23&&BT&&&
&23&&IT&&&
&23&&ST&&&
&23&&TZ&&&
&23&&T&23 != $1&&+/kick %1 No chatting.  This is a warning
&23&&T&23 == $1&&+/ban %1 You've been warned
&23&&T&&&:set 4 $1[/quote]

Note it uses user variable #4 (23) in this example because in the configuration I took this from, 1 - 3 were already in use for something else.  You can adjust the user variable numbers accordingly based on your own usage.
November 23, 2004, 1:51 AM
Eibro
Curious; is your scriping system a dialect of brainfuck?
November 23, 2004, 2:09 AM

Search