Jump to content

Ban nick script?


Guest CBR

Recommended Posts

on *:SIGNAL:mta.command:{
 if ($3 == !bannick) {
   if ($4 != $null) {
     if (!$findtok($readini(bla.ini,bla,bla),$4,1,32)) {
       !writeini bla.ini bla bla $addtok($readini(bla.ini,bla,bla),$4,32)
       mta.say $1 Banned nick: $4
     }
     else mta.say $1 $4 is already a banned nick
   }
   else mta.say $1 !bannick 
 }
}
on *:SIGNAL:mta.join:{
 if ($findtok($readini(bla.ini,bla,bla),$mta.name($1,$2),1,32)) {
   mta.say $1 Kicking $mta.name($1,$2) - Banned Nick
   mta.kick $1 $2
 }
}

Link to comment
  • Recently Browsing   0 members

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