Hai
Help my in banlist
elseif ($1 == !banlist) msg $nick $read($scriptdirvcmp.bans.ini,%a)
elseif ($1 == !banlist) {
var %a = 1
while (%a <= 100) {
msg $nick $read($scriptdirvcmp.baninfo.ini,%a)
inc %a
}
}
i in game type !ban tanax01 hax
2 are repeated ban
in game Admin: [Marcispeems] banned [tanax01] Reason: [hax] (winner in banlist)
in game Admin: [TanaX01] Banned: [tanax01] reason: [hax] (loser in banlist)
me in irc typoe !banlist
Admin: Marispeems banned: tanax01 reason:.................... etc
why Marcispeems is bot :S
my !ban is
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
}
}
}
Please Help