Author Topic: Omg Banlist WTF  (Read 7017 times)

0 Members and 1 Guest are viewing this topic.

Offline TanaX01

  • Made Man
  • ***
  • Posts: 214
  • BlackList! <3
    • View Profile
Omg Banlist WTF
« on: July 08, 2008, 10:08:48 pm »
Omg Stupid Banlist Problem

Admin: [MarcisPeems] Banned: [[KFD]TanaX01] Reason: [] DateBan: [Mon Jul 07 22:32:15 2008] TimeBan: [22:32] IP: [190.47.193.141]


i ingame banned user :S why admin marcispeems in banlist in irc ? marcispeems is Bot

reason [] :s please help


Alias VCMP.BAN

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

  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)
}

Banlist:

Quote
    elseif ($1 == !banlist) {
      var %a = 1
      while (%a <= 100) {
        msg $nick $read($scriptdirbaninfo.txt,%a)
        inc %a
      }
    }

!Ban :

Quote
   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- ]
          }
        }
      }
    }

Help my  :-\ :-\




Offline Mattz

  • VC:MP Lead Tester
  • Made Man
  • *
  • Posts: 192
  • BK-201
    • View Profile
Re: Omg Banlist WTF
« Reply #1 on: July 09, 2008, 02:43:15 am »
Try

Code: [Select]
Reason: $+($chr(91),$3-,$chr(93))
In alias vcmp.ban


Offline TanaX01

  • Made Man
  • ***
  • Posts: 214
  • BlackList! <3
    • View Profile
Re: Omg Banlist WTF
« Reply #2 on: July 09, 2008, 04:53:15 am »
Try

Code: [Select]
Reason: $+($chr(91),$3-,$chr(93))
In alias vcmp.ban

k thank my post is why ingame banned come irc !banlist marcispeems banned :S

Offline bakasan

  • VC:MP Developer
  • Made Man
  • *
  • Posts: 169
    • View Profile
Re: Omg Banlist WTF
« Reply #3 on: July 09, 2008, 06:00:32 am »
delete the server's banlist file?

Offline GTA-Roloboy

  • Made Man
  • ***
  • Posts: 135
    • View Profile
Re: Omg Banlist WTF
« Reply #4 on: July 09, 2008, 01:03:32 pm »
Quote
alias vcmp.ban {
  write baninfo.txt Admin: $chr(91) $2 $chr(93) Banned: $chr(91) $vcmp.hgetname($vcmp.nameid($1)) $chr(93) Reason: $chr(91) $3- $chr(93) DateBan: $chr(91) $fulldate $chr(93) TimeBan: $chr(91) $time(HH:nn) $chr(93) IP: $chr(91) $vcmp.hgetip($vcmp.nameid($1)) $chr(93)

  vcmp.adminchat ** Banning $$vcmp.hgetname($vcmp.nameid($1)) Reason: $iif($3,$v1,None)

  .timer. $+ $$vcmp.nameid($1) $+ .ban -m 1 250 vcmp.command ban $vcmp.nameid($1)
}
Quote
     elseif ($1 == !banlist) {
      var %a = 1
      while (%a <= 100) {
        notice $nick $chan : $read($scriptdirbaninfo.txt,%a)
        inc %a
      }
    }
Quote
    elseif ($2 == !ban) {
      if ($hget(vcmp,loggedin. $+ %id) < 3) { vcmp.adminmsg %id You Must Be Admin Level 2 Or Higher To Attempt This Command. }
      elseif (!$vcmp.nameid($3)) { vcmp.adminmsg %id Error: Invalid ID. }
      elseif ($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($vcmp.nameid($3),$1,$4) }
      }
« Last Edit: July 09, 2008, 01:05:27 pm by GTA-Roloboy »

Offline TanaX01

  • Made Man
  • ***
  • Posts: 214
  • BlackList! <3
    • View Profile
Re: Omg Banlist WTF
« Reply #5 on: July 09, 2008, 11:52:52 pm »
spam bot ?

Quote
<TaNaX01>   !banlist
   *MarciSpeems*   #GranGtaOnline :
   *MarciSpeems*   #GranGtaOnline :
   *MarciSpeems*   #GranGtaOnline :
   *MarciSpeems*   #GranGtaOnline :
   *MarciSpeems*   #GranGtaOnline :
   *MarciSpeems*   #GranGtaOnline :
   *MarciSpeems*   #GranGtaOnline :
   *MarciSpeems*   #GranGtaOnline :
   *MarciSpeems*   #GranGtaOnline :
   *MarciSpeems*   #GranGtaOnline :
   *MarciSpeems*   #GranGtaOnline :
   *MarciSpeems*   #GranGtaOnline :
   *MarciSpeems*   #GranGtaOnline :
   *MarciSpeems*   #GranGtaOnline :
   *MarciSpeems*   #GranGtaOnline :
   *MarciSpeems*   #GranGtaOnline :
   *MarciSpeems*   #GranGtaOnline :
   *MarciSpeems*   #GranGtaOnline :
   *MarciSpeems*   #GranGtaOnline :

Offline Nemesis2500

  • Wiseguy
  • **
  • Posts: 63
  • The Joker
    • View Profile
    • Grand VCMP Server
Re: Omg Banlist WTF
« Reply #6 on: July 10, 2008, 12:03:59 am »
spam bot ?

Quote
<TaNaX01>   !banlist
   *MarciSpeems*   #GranGtaOnline :
   *MarciSpeems*   #GranGtaOnline :
   *MarciSpeems*   #GranGtaOnline :
   *MarciSpeems*   #GranGtaOnline :
   *MarciSpeems*   #GranGtaOnline :
   *MarciSpeems*   #GranGtaOnline :
   *MarciSpeems*   #GranGtaOnline :
   *MarciSpeems*   #GranGtaOnline :
   *MarciSpeems*   #GranGtaOnline :
   *MarciSpeems*   #GranGtaOnline :
   *MarciSpeems*   #GranGtaOnline :
   *MarciSpeems*   #GranGtaOnline :
   *MarciSpeems*   #GranGtaOnline :
   *MarciSpeems*   #GranGtaOnline :
   *MarciSpeems*   #GranGtaOnline :
   *MarciSpeems*   #GranGtaOnline :
   *MarciSpeems*   #GranGtaOnline :
   *MarciSpeems*   #GranGtaOnline :
   *MarciSpeems*   #GranGtaOnline :
O_O rofl  ;)


Offline TanaX01

  • Made Man
  • ***
  • Posts: 214
  • BlackList! <3
    • View Profile
Re: Omg Banlist WTF
« Reply #7 on: July 10, 2008, 12:15:23 am »
Nemesis Please Post Help no spaming and winner point  >:(

Offline Nemesis2500

  • Wiseguy
  • **
  • Posts: 63
  • The Joker
    • View Profile
    • Grand VCMP Server
Re: Omg Banlist WTF
« Reply #8 on: July 10, 2008, 12:29:03 am »
Nemesis Please Post Help no spaming and winner point  >:(
i can send you my !banlist and you will have NO problem  ;)


Offline TanaX01

  • Made Man
  • ***
  • Posts: 214
  • BlackList! <3
    • View Profile
Re: Omg Banlist WTF
« Reply #9 on: July 12, 2008, 03:06:58 am »
Nemesis Please Post Help no spaming and winner point  >:(
i can send you my !banlist and you will have NO problem  ;)

Omg You se other Banlist in you script Nemesis  8)

Offline Nemesis2500

  • Wiseguy
  • **
  • Posts: 63
  • The Joker
    • View Profile
    • Grand VCMP Server
Re: Omg Banlist WTF
« Reply #10 on: July 12, 2008, 03:49:22 am »
Nemesis Please Post Help no spaming and winner point  >:(
i can send you my !banlist and you will have NO problem  ;)

Omg You se other Banlist in you script Nemesis  8)
but at least it works  8)


Offline TanaX01

  • Made Man
  • ***
  • Posts: 214
  • BlackList! <3
    • View Profile
Re: Omg Banlist WTF
« Reply #11 on: July 12, 2008, 03:55:51 am »
Nemesis Please Post Help no spaming and winner point  >:(
i can send you my !banlist and you will have NO problem  ;)

Omg You se other Banlist in you script Nemesis  8)
but at least it works  8)

yea least  :-\