Vice City Multiplayer

VC:MP => mIRC/pawn Scripting => Topic started by: TanaX01 on July 01, 2008, 07:41:39 PM

Title: AdTec Help Me
Post by: TanaX01 on July 01, 2008, 07:41:39 PM
Hey AdTec You Help Me In Commands IRC !Banlist  :-[

that you need stops to create the commando?
Title: Re: AdTec Help Me or Other User
Post by: TanaX01 on July 02, 2008, 07:20:20 PM
Please Other User Help Me ?
Title: Re: AdTec Help Me
Post by: ReVilo on July 02, 2008, 08:29:37 PM
How LW works is this:
When the admin types !banlist, it redirects/returns a web URL containing all the names, Ip's etc of banned ppl.
Everytime someone is banned, the web thing is updated.
How I'm trying to make mine is so that it just reads an ini..when im done ill post it lol

EDIT: nvm :P
Title: Re: AdTec Help Me
Post by: ReVilo on July 03, 2008, 01:44:03 AM
K, so thanks also goes to Windlord who helped me with this one :p
This works directly from the default sansan vcmp.bans.ini:
elseif ($1 == !banlist) {
      var %a = 1
      while (%a <= 100) {
        msg $nick $read($scriptdirvcmp.bans.ini,%a)
        inc %a
      }
    }

It PM's the person who types it.
NOTE: If you have ALOT of bans, this is not a good way to do !banlist, it might crash your net/bot/computer :P
Title: Re: AdTec Help Me
Post by: TanaX01 on July 03, 2008, 02:19:30 AM
Thank Revilo :D