on *:SIGNAL:mta.text:{
if (swear isin $3) {
var %a = $readini($mta.dir $+ $1.ini,n,$2,swears)
!writeini " $+ $mta.dir $+ $1.ini" $1 $2 swears $iif(%a > 2,3,$calc(%a + 1))
!inc %a
mta.text $1 $mta.nick($1,$2) $+ , don't swear! ( $+ $replacex(%a,1,first,2,second,3,last) warning)
if (%a > 2) mta.kick $1 $2
}
}
can i do
alias swear
and then readini or txt or something whit a list of swearing words? And how to script then?
I want that he reads all the swearing words from a other file, whit a list of swearwords...