Id: 9073; Nick: Albie; Timestamp: 2008-04-12 18:46:52; Pasted as: mIRC
Description: n/a
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
on *:text:!pickup server?&:#: {
  if ($2 == server:) {
    ;Tokenize the string by ascii 58 (:) so $1 should now be server and $2 will be add/del/list/update
    tokenize 58 $2-
    if ($2 == add) {
      addserver $3 $4
      notice $nick Added Server: $3 $4
    }
    elseif ($2 == del) {
      delserver $3
      notice $nick Removed Server: $3 $4
    }
    elseif ($2 == list) {
      var %x = 1
      while ($hget(servers,%x)) { 
        timer 1 %x notice $nick Pickup server %x $+ : $hget(servers,%x)
        inc %x 
      }
    }
    elseif ($2 == update) {
      updtopic $chan
      notice $nick Topic Updated
    }
  }
}
Options: New, Download,
, mIRC Parser;
Copyright © 2006 by Zyberdog - Some rights reserved. (Browse/Disclaimer/Stats/About)