• Welcome to Vice City Multiplayer.
 

Ban in game or irc error sasan

Started by TanaX01, July 06, 2008, 11:19:14 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

TanaX01

Hai  :D

Help my in banlist

Quoteelseif ($1 == !banlist) msg $nick $read($scriptdirvcmp.bans.ini,%a)
Quoteelseif ($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

Quoteelseif ($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  :-[ :-[ :-[ :-[ :-[








TanaX01

in game !ban



in irc !banlist

<Marcispeems>   [Admin:]
<Marcispeems>   ~=Marcispeems ] Banned: TanaX01 Reason: Date: 06/07/2008 
                        TimeBan: 18:46:36 IP: [ 127.0.0.1

error is Admin: [ Marcispeems (error) ] Reason [ test (error) ]

GTA-Roloboy


TanaX01

Ok

Quotealias vcmp.ban {
  vcmp.adminchat ** Banning $$vcmp.hgetname($vcmp.nameid($1)) $iif($2,Reason: $2-,)
  !writeini -n vcmp.baninfo.ini Admin: [ $chr(91) $nick $chr(93) ] Banned: [ $chr(91) $vcmp.hgetname($vcmp.nameid($1)) $chr(93) ] Reason: [ $chr(91) $2- $chr(93) ] Date: [ $date ] TimeBan: [ $chr(91) $time $chr(93) ] IP: [ $chr(91) $vcmp.hgetip($vcmp.nameid($1)) $chr(93)
  .timer. $+ $$vcmp.nameid($1) $+ .ban -m 1 250 vcmp.command ban $$vcmp.nameid($1) ]
}

GTA-Roloboy

Quote
alias vcmp.ban {
  write baninfo.txt Admin: $nick Banned: $vcmp.hgetname($vcmp.nameid($1)) Reason: $2- Date: $fulldate TimeBan: $time(HH:nn) IP: $vcmp.hgetip($vcmp.nameid($1))

  vcmp.adminchat ** Banning $$vcmp.hgetname($vcmp.nameid($1)) $iif($2,Reason: $2-,)

  .timer. $+ $$vcmp.nameid($1) $+ .ban -m 1 250 vcmp.command ban $$vcmp.nameid($1)
}

Try that

TanaX01


TanaX01

Failed  :-\

Banlist in irc

Quote<Marcispeems>   Admin: Marcispeems Banned: TanaX01 Reason: Date: Mon Jul 07 14:18:21 2008 TimeBan: 14:18 IP: 127.0.0.1Admin: TanaX01 Banned: TanaX01 Reason: yea Date: Mon Jul 07 14:21:24 2008 TimeBan: 14:21 IP: 127.0.0.1

TanaX01


Mattz


Nemesis2500



thijn



TanaX01


Nemesis2500