Jump to content

Kick player if IP and Nick not is right...


Guest BoXon

Recommended Posts

Posted

Hi!

I would like to have a script like:

if mta.name == -MS-BoXon && mta.ip == 212.121.212.121

then nothing will happend, But if IP is another should the player get kicked, Can someone help me to do a script who does that?

Like a fake nick test.. :)

Posted (edited)
on *:SIGNAL:mta.join:{
 if $mta.name($1,$2) == -MS-BoXon && $mta.ip($1,$2) != 212.121.212.121 {
   mta.say $1 IP check failed
   mta.kick $1 $2
 }
}

Edited by Guest
Posted
oops i forgot 1 small thing.. ive edited it.. should work now ;)

Yeah, After a while i missed it to and i puted it into the script and whoola... :D

Thanks! :lol:

  • Recently Browsing   0 members

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