Hai
pls help with !ban command on IRC whe i type it,it doesnt work
In Irc :
!ban TanaX01 evacion
admin tanax banned reason evacion
-------------------------------------------------------------
In-Game
!ban Id Evacion
** Admin:[ TanaX01 ] Banned:[ TanaX01 ] Reason:[ evacion ]
-------------------------------------------------------------
Why Not In Irc
!ban user evacion
user banned in game
** Admin:[ TanaX01 ] Banned:[ User ] Reason:[ evacion ]
-------------------------------------------------------------
Irc:
elseif ($1 == !ban) vcmp.ban $vcmp.nameid($2) $3-
In-Game:
elseif ($2 == !ban) {
if ($hget(vcmp,loggedin. $+ %id) < 3) { vcmp.adminmsg %id You Must Be Admin Level 2 Or Higher To Attempt This Command. }
else {
if ($vcmp.nameid($3) == $null) vcmp.adminmsg %id Error: Invalid ID.
else {
if ($hget(vcmp,loggedin. $+ %id) < $hget(vcmp,loggedin. $+ $vcmp.nameid($3))) { vcmp.adminmsg %id You can't ban someone higher level admin than you... }
else { vcmp.ban $3 | vcmp.adminchat ** Admin:[ $vcmp.hgetname(%id) ] Banned:[ $vcmp.hgetname($vcmp.nameid($3)) ] Reason:[ $4- ]
}
}
}
}
Please Help In irc commands !ban
** Admin:[ TanaX01 ] Banned:[ User ] Reason:[ evacion ]
Sorry For My Inglish