Guest Posted March 27, 2008 Share Posted March 27, 2008 please someone post A !blacklist script same like in GRS but i dont want GRS i need the seprate script of !blacklist please someone post it same like GRS.Please!!!!!!!!!!!!!!!!! Link to comment
Guest Posted March 27, 2008 Share Posted March 27, 2008 on *:SIGNAL:mta.command:{ var %a = $iif($4,$iif($mta.name($1,$4) != Unknown,$4,$mta.getid($1,$4)),$2) if ($3 == !bl) { if (%a == $2) mta.say $1 Error - You cant blacklist yourself elseif (%a == -1) mta.msg $1 $2 Error - Absent ID elseif (%b == -1) mta.say $1 $iif(#* iswm $3,0,$3) $mta.name($1,$2) $+ : Cannot blacklist absent ID else { else mta.say $1 $mta.name($1,%a) is blacklisted. !writeini -n " $+ MTAbans.ini" banreasons $mta.name($1,%b) $6- $date $time $mta.name($1,$2) !writeini -n " $+ MTAbans.ini" bannedip $mta.name($1,%b) $mta.ip($1,%b) $date $time $mta.name($1,$2) !writeini -n " $+ MTAbans.ini" main $mta.name($1,%b) 4 !writeini -n " $+ MTAbans.ini" blacklist $mta.name($1,%b) 1 if $readini($+ MTAbans.ini,shortip,$gettok($mta.ip($1,%b),1-2,46)) && $mta.name($1,%b) !isin $readini($grs.dir $+ MTAbans.ini,shortip,$gettok($mta.ip($1,%b),1-2,46)) { !writeini -n " $+ $grs.dir $+ MTAbans.ini" shortip $gettok($mta.ip($1,%b),1-2,46) $readini($grs.dir $+ MTAbans.ini,shortip,$gettok($mta.ip($1,%b),1-2,46)) $+ , $mta.name($1,%b) } else { !writeini -n " $+ MTAbans.ini" shortip $gettok($mta.ip($1,%b),1-2,46) $mta.name($1,%b) } mta.ban $1 %b } } } edit : nah but its a start ;/ i guess jUST remember NoT tested ;/ Link to comment
Guest Posted March 28, 2008 Share Posted March 28, 2008 It doesnt work when i type !bl it says cannot blacklist urself but when i type !bl otherplayer then it says nothing someone please Fix it Link to comment
Recommended Posts