• Welcome to Vice City Multiplayer.
 

AdTec Help Me

Started by TanaX01, July 01, 2008, 06:41:39 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

TanaX01

Hey AdTec You Help Me In Commands IRC !Banlist  :-[

that you need stops to create the commando?

TanaX01


ReVilo

#2
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

ReVilo

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

TanaX01