back to the script at hand.
the basic script again is:
on *:SNOTICE:*client connecting*:{
timer 1 5 ctcp $4 version
}
on 1:CTCPREPLY:VERSION*:{
write versionlog. $+ $asctime(yyyy-mm-dd) $+ .txt $2-
if ($read(versions.txt, s, $2)) wallops Version Alert for $nick using $2- $read(versions.txt, s, $2)
else halt
}
I think all the timers need to be dynamically assigned with a name, instead of the next available timer number. But then in the ctcpreply event I need a way of knowing which timer is which ... so it doesn't turn off the incorrect timer and doesn't send out that notice to the user that they don't have a version response.