Jump to content

Auto kick


kheelo

Recommended Posts

Posted

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 :D

on *:SIGNAL:mta.text:{
 ($removecs($3-,shj1t,bad word 2,bad word 3)) {
     mta.kick $1 $2
   }

 }

Posted

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.

Posted
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 :P i fixed tho

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...