I'm making a script, which uses this.
Quote:
set %announcer 1
set %remainer $read(remaining.txt, %announcer)
while (%remainer != $null) {
if (%remainer ison #test) {
notice %remainer $1-
write -ds $+ %remainer remaining.txt
}
inc %announcer 1
set %remainer $read(remaining.txt, %announcer)
}

it basically reads through a txt file, and see's if someone is on channel, if they are, it'll send them a /notice, it will then delete them from the file. Althoguh i'm having some problems, it only seemed to notice the first person. I'm starting to think that it's the if statement in the while loop, would that stop it looping perhaps?