I can give you the pesudo code for it.

On text
if Word is Said {
if $Nick $+ Lang !exists { Set $nick $+ Lang to 1 }
else { inc $Nick $+ Lang }
if $Nick $+ Lang = 1 { msg $nick Warn }
if $Nick $+ Lang = 2 { kick $nick }
if $Nick $+ Lang = 3 { ban $nick | unset $Nick $+ Lang }
}

i'll type up the real code later. Chances are you'll need a text file to look up the words as its much easier editing the text file than the script every time you want to change things.


Yar