Author Topic: AdTec Help Me  (Read 2999 times)

0 Members and 1 Guest are viewing this topic.

Offline TanaX01

  • Made Man
  • ***
  • Posts: 214
  • BlackList! <3
    • View Profile
AdTec Help Me
« on: July 01, 2008, 08:41:39 pm »
Hey AdTec You Help Me In Commands IRC !Banlist  :-[

that you need stops to create the commando?

Offline TanaX01

  • Made Man
  • ***
  • Posts: 214
  • BlackList! <3
    • View Profile
Re: AdTec Help Me or Other User
« Reply #1 on: July 02, 2008, 08:20:20 pm »
Please Other User Help Me ?

Offline ReVilo

  • Wiseguy
  • **
  • Posts: 64
  • Master of All that is Holy
    • View Profile
Re: AdTec Help Me
« Reply #2 on: July 02, 2008, 09: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
« Last Edit: July 02, 2008, 11:07:49 pm by ReVilo »

Offline ReVilo

  • Wiseguy
  • **
  • Posts: 64
  • Master of All that is Holy
    • View Profile
Re: AdTec Help Me
« Reply #3 on: July 03, 2008, 02: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:
Code: [Select]
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

Offline TanaX01

  • Made Man
  • ***
  • Posts: 214
  • BlackList! <3
    • View Profile
Re: AdTec Help Me
« Reply #4 on: July 03, 2008, 03:19:30 am »
Thank Revilo :D