listing notifies - 27/08/03 08:37 PM
I'm trying to write all online/offline nicks to a txt file....im writing them (online/offline) to a .txt file and want to delete any of the matches if they are offline and leave only 1 and if that nick isnt online for another server...heres what im using so far...any help greatly appreciated:
code:
alias list.notifys {
write -c notify.txt
var %x = 1
while $scon(%x) {
scon %x
var %notify = 1
while ($notify(%notify)) {
if ($notify(%notify).ison) {
echo -s Online: $notify(%notify) ( $+ $notify(%notify).note $+ )
write notify.txt $server Online: $notify(%notify)
}
else {
echo -s Offline: $notify(%notify) ( $+ $notify(%notify).note $+ )
write notify.txt Offline: $notify(%notify)
}
inc %notify
}
inc %x
}
}
code:
alias list.notifys {
write -c notify.txt
var %x = 1
while $scon(%x) {
scon %x
var %notify = 1
while ($notify(%notify)) {
if ($notify(%notify).ison) {
echo -s Online: $notify(%notify) ( $+ $notify(%notify).note $+ )
write notify.txt $server Online: $notify(%notify)
}
else {
echo -s Offline: $notify(%notify) ( $+ $notify(%notify).note $+ )
write notify.txt Offline: $notify(%notify)
}
inc %notify
}
inc %x
}
}