Author Topic: COMMAND PROBLEM HELP ME  (Read 2234 times)

0 Members and 1 Guest are viewing this topic.

Offline suhail

  • Street Thug
  • *
  • Posts: 7
    • View Profile
COMMAND PROBLEM HELP ME
« on: January 06, 2011, 04:49:45 pm »
    }
  }
  elseif ($3 == subban) {
    if ($FBS.lin($1, $2) == $null) vcmp.msg $1 $2 You must either register or be logged in as Admin Level 7.
    elseif ($FBS.Level($1, $2) < 7) vcmp.msg $1 $2 Error, You need to be at least level 7 to use this command.
    elseif (!$4) vcmp.msg $1 $2 Error - Correct Syntax: /c $3 <IP> <Reason>
    elseif ( *.*.*.* !iswm $4) vcmp.msg $1 $2 Incorrect IP
    elseif ($gettok($4,1,46) == $chr(42)) || ($gettok($4,2,46) == $chr(42)) vcmp.msg $1 $2 Incorrect subnet to ban
    else {
      vcmp.say $1 ** Admin $vcmp.name($1, $2) Banned subnet:[ $4 $chr(93) $iif($5-,Reason:[ $5- $chr(93) ,)
      hadd -m bannedsubnets $4 true
      hsave bannedsubnets bannedsubnets.hsh
      !writeini -n fbs.bans.ini SUBBANS $4 Time: $time $+ , Date: $date $+ , Admin $vcmp.name($1, $2) $+ , Reason: $iif($5-,$v1,None)
    }
  }


CHANGE PAWN SCRIPT PLZ HELP