Jump to content

!addsus script


stylo

Recommended Posts

Does anyone know a script with when an admin (lvl 3 or higher) type !addsus that everytime he joins in IRC admins get warned with *warning has joined and s listed on my list of suspected cheaters.

Thx u

on *:SIGNAL:mta.command: {
 var %a = $iif((!$4),$2,$iif(($mta.getid($1,$+(*,$4,*)) == $null),$2,$v1))
 if ($3 == !addsus) && ($mta.level($1,$2) > 2) {
   if (%a == $2) mta.pm $1 $2 Error: Invalid Name.
   else {
     !writeini -n sus.ini sus $mta.nick($1,%a) 1
     mta.pm $1 $2 Suspect $mta.nick($1,%a) Added.
   }
 }
 elseif ($3 == !remsus) && ($mta.level($1,$2) > 2) {
   if (%a == $2) mta.pm $1 $2 Error: Invalid Name.
   else {
     !remini -n sus.ini sus $mta.nick($1,%a)
     mta.pm $1 $2 Suspect $mta.nick($1,%a) Removed.
   }
 }    
}

on *:SIGNAL:mta.join: {
 if ($readini(sus.ini,sus,$mta.nick($1,$2)) == 1) {
   !msg #YOUR-IRC-CHANNEL-NAME Warning: Suspect $mta.nick($1,$2) Has Joined!
 }
}

Something like that i guess 8)

Of course, ur script mirc needs to be connected to ur channel,

but that should work ok for u

Link to comment
  • Recently Browsing   0 members

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