basic anti curse. alt+r
on *:text:*:#:{
if ($me isop $chan) && (bitch isin $1-) || (fuck isin $1-) || (nigga isin $1-) || (nigger isin $1-) || (whore isin $1-) || (fag isin $1-) || (beaner isin $1-) {
.timer 1 2 Msg # Please do not cuss $nick $+ . You said $1- $+ .
.timer 1 3 ban $chan $nick 24 hours
.timer 1 4 kick $chan $nick
}
}
I haven't learned tokens yet...
Rofl um then you posted
if ($istok($1-,$gettok(%curse,%x,44),32)) ban -ku86400 # $nick 2 Banned For 24 hours
That would only ban, wouldn't it?
Why would you even bother askin if you cant test an see for your self i suggest you learn tokens you will need them more then anything i promise yew;p.`-.-´
so you have the bot or what ever you are running this script to say the word that you just banned the person for saying , and you also warn them right before you kick ban them kind of pointless...
why not just do this and be done with it?
on @*:text:*:#:{
var %curse = add,ur,curse,words,here, %x = $numtok(%curse,44)
while (%x) {
if ($istok($1-,$gettok(%curse,%x,44),32)) ban -ku86400 # $nick 2 Banned For 24 hours
dec %x
}
}