home *** CD-ROM | disk | FTP | other *** search
- on 1:load:{
- set %ad.chan $$?="What channel do you wanna advertise to?"
- set %ad.int $$?="How often do you want to advertise the list?"
- }
- on 1:text:%ad.chan:!list:{
- set %count 0
- msg $nick Please turn off all flood protection.
- msg $nick -----------------------
- :begin
- inc %count 1
- if (%ad.list.ip.[ %count ] != $null) { msg $nick Address: %ad.list.ip.[ %count ] Login: %ad.list.login.[ %count ] Password: %ad.list.passwd.[ %count ] Port: %ad.list.port.[ %count ] | goto begin }
- else { goto end }
- :end
- msg $nick -----------------------
- }
- on 1:join:%ad.chan:{
- if ($nick == $me) {
- timer34782 0 %ad.int /advertise
- }
- }
- alias advertise {
- msg %ad.chan Automatically listing ftp sites. (Please turn off all flood protection)
- :begin
- inc %count 1
- if (%ad.list.ip.[ %count ] != $null) {
- msg %ad.chan Address: %ad.list.ip.[ %count ] Login: %ad.list.login.[ %count ] Password: %ad.list.passwd.[ %count ] Port: %ad.list.port.[ %count ]
- goto begin
- }
- else { goto end }
- :end
- }
-
- alias showlist {
- window -rls @List
- :begin
- inc %count 1
- if (%ad.list.ip.[ %count ] != $null) {
- aline @List Address: %ad.list.ip.[ %count ] Login: %ad.list.login.[ %count ] Password: %ad.list.passwd.[ %count ] Port: %ad.list.port.[ %count ]
- goto begin
- }
- else { goto end }
- :end
- }
-