Thanks, and you're right regarding the hash tables/variables.
I see that you used regex in the on notice events.
While I have done some studying on them, would you mind explaining them in detail, so that I can make sense of them. Regex items always give me a headache when I try to do them myself, and I'd like to understand just how they work.
Sorry to say this, but the code doesn't seem to be working.
I made a couple of small changes, but I don't think they'd have much affect regarding the operation of the code.
Here's the code with the changes that I made
on $*:notice:/(SOp|AOp) list for/:*:{
enable #capturelist2
set %list $4 :: $regml(1)
}
on *:notice:End of List:*:{
disable #capturelist2
unset %list
}
#capturelist2 off
on $*:notice:/-.*?(\S+.*)/:*:{
echo 4 -ag %list :: $regml(1)
}
#capturelist2 end
The information is still being returned in the status window, which is where chanserv sends it's notices on the network that I'm working on (actually all 3 networks that I'm testing with)
As you can see, the changes that I made are limited to using the * in place of the ? for the location, a change in the group name (simply because I already have a #capturelist group in this script), and having the echo of the information sent to the active window and coloured red, rather than the status window.
If it helps, the three networks that I'm testing on are Bondage.com, BDSM-Net.com and Maximum-IRC.com