Personally i wouldn't have even used regex at all. At the upmost i would have done something like.
on *:TEXT:$(* $me $+ ? *):*:{
if (!$window(@HighlightLog)) { window -ez @HighLightLog }
if (!$hget(HLFlood $+ $network,$wildsite)) {
hadd -mz $+(HLFlood,$network) $wildsite 30
aline -hi20 @HighlightLog Highlight - $nick ( $+ $wildsite $+ ) - $+($iif(#,#,Query),@,$network) - $timestamp $$1-
}
}
The reason i would use hashtables is because if you EXIT mIRC the variables are left in the VAR tab if the unset isn't triggered. Atleast hash tables are deleted automatically when you EXIT unless you have a method of saving them on exit. If you do you can simple exclude them from your method. That's just my two cents.