kheelo Posted January 2, 2007 Share Posted January 2, 2007 Ok i need a script which auto kicks everyone who say shj1t for example and the bad words should be easily added to script or list. thx. here s something i tried, but it kicks player whatever he sais on *:SIGNAL:mta.text:{ ($removecs($3-,shj1t,bad word 2,bad word 3)) { mta.kick $1 $2 } } Link to comment
kheelo Posted January 2, 2007 Author Share Posted January 2, 2007 on *:SIGNAL:mta.text:{ if ($3 == oops1) mta.kick $1 $2 elseif ($3 == oops2) mta.kick $1 $2 } This one works if u only say oops1 or oops2. But if u say hello there oops1 it does nothing. Need help. THX. Link to comment
BetaDevil Posted January 2, 2007 Share Posted January 2, 2007 on *:SIGNAL:mta.text: { if ($findtok(oops1,$3-,32)) mta.kick $1 $2 if (oops2 isin $3-) mta.kick $1 $2 } it kicks with this: he oops1 oops2sas Link to comment
lil Toady Posted January 2, 2007 Share Posted January 2, 2007 if ($findtok(oops1,$3-,32)) mta.kick $1 $2 if ($findtok($3-,oops1,32)) mta.kick $1 $2 your one was checking only if i said 1 word oops1, if i said 'blasgfassf asf oops1' it wouldn't work i fixed tho Link to comment
Recommended Posts