Author Topic: Ban in game or irc error sasan  (Read 5979 times)

0 Members and 1 Guest are viewing this topic.

Offline TanaX01

  • Made Man
  • ***
  • Posts: 214
  • BlackList! <3
    • View Profile
Ban in game or irc error sasan
« on: July 07, 2008, 01:19:14 am »
Hai  :D

Help my in banlist

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

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


 :'( :'( :'( :'( :'( Please Help  :-[ :-[ :-[ :-[ :-[








Offline TanaX01

  • Made Man
  • ***
  • Posts: 214
  • BlackList! <3
    • View Profile
Re: Ban in game or irc error sasan
« Reply #1 on: July 07, 2008, 01:56:42 am »
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) ]

Offline GTA-Roloboy

  • Made Man
  • ***
  • Posts: 135
    • View Profile
Re: Ban in game or irc error sasan
« Reply #2 on: July 07, 2008, 09:08:10 pm »
Post: alias vcmp.ban {

Offline TanaX01

  • Made Man
  • ***
  • Posts: 214
  • BlackList! <3
    • View Profile
Re: Ban in game or irc error sasan
« Reply #3 on: July 07, 2008, 09:09:30 pm »
Ok

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

Offline GTA-Roloboy

  • Made Man
  • ***
  • Posts: 135
    • View Profile
Re: Ban in game or irc error sasan
« Reply #4 on: July 07, 2008, 09:13:27 pm »
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

Offline TanaX01

  • Made Man
  • ***
  • Posts: 214
  • BlackList! <3
    • View Profile
Re: Ban in game or irc error sasan
« Reply #5 on: July 07, 2008, 09:14:11 pm »
Ok  ;D

Offline TanaX01

  • Made Man
  • ***
  • Posts: 214
  • BlackList! <3
    • View Profile
Re: Ban in game or irc error sasan
« Reply #6 on: July 07, 2008, 09:26:36 pm »
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

Offline TanaX01

  • Made Man
  • ***
  • Posts: 214
  • BlackList! <3
    • View Profile
Re: Ban in game or irc error sasan
« Reply #7 on: July 07, 2008, 09:47:17 pm »
Please Murdock Help ME or Mattz :( :(

Offline Mattz

  • VC:MP Lead Tester
  • Made Man
  • *
  • Posts: 192
  • BK-201
    • View Profile
Re: Ban in game or irc error sasan
« Reply #8 on: July 07, 2008, 09:51:02 pm »
It looks fine to me O.o


Offline Nemesis2500

  • Wiseguy
  • **
  • Posts: 63
  • The Joker
    • View Profile
    • Grand VCMP Server
Re: Ban in game or irc error sasan
« Reply #9 on: July 07, 2008, 09:55:17 pm »
lol  ;)


Offline thijn

  • LU testers
  • VC:MP Veteran
  • *
  • Posts: 667
  • Im proud to be pro.
    • View Profile
    • Vice Underdogs
Re: Ban in game or irc error sasan
« Reply #10 on: July 07, 2008, 10:04:27 pm »
 ;D ;D

Offline TanaX01

  • Made Man
  • ***
  • Posts: 214
  • BlackList! <3
    • View Profile
Re: Ban in game or irc error sasan
« Reply #11 on: July 07, 2008, 10:31:34 pm »
Omg Lol  Please Help !!  :o :o :o :o :o

Offline Nemesis2500

  • Wiseguy
  • **
  • Posts: 63
  • The Joker
    • View Profile
    • Grand VCMP Server
Re: Ban in game or irc error sasan
« Reply #12 on: July 08, 2008, 09:10:58 pm »
jajaja xD rofl ;)