Can't figure out what is wrong... - 31/07/04 10:26 PM
Hello there!
I just cannot figure out why is the NOTICE being added to the hash table, but the TEXT isn't! I mean, those codes are exactly the same, apart from the event, right? Or did I make a typo that I can't see?
Any help is apreciated
Zyzzyx.
Code:
on *:NOTICE:*:*: { if ($nick !isnotify) || ($ulevel == 1) { if (!$dialog(Unwanted)) { hadd -m BlockMsg $ticks $+(<,$nick,>,$chr(32),$chr(40),$address,$chr(41)) $strip($1-) } if ($dialog(Unwanted)) { did -a Unwanted 1 $+(<,$nick,>,$chr(32),$chr(40),$address,$chr(41)) $strip($1-) hadd -m BlockMsg $ticks $+(<,$nick,>,$chr(32),$chr(40),$address,$chr(41)) $strip($1-) } } } on *:TEXT:*:?: { if ($nick !isnotify) || ($ulevel == 1) { if (!$dialog(Unwanted)) { hadd -m BlockMsg $ticks $+(<,$nick,>,$chr(32),$chr(40),$address,$chr(41)) $strip($1-) } if ($dialog(Unwanted)) { did -a Unwanted 1 $+(<,$nick,>,$chr(32),$chr(40),$address,$chr(41)) $strip($1-) hadd -m BlockMsg $ticks $+(<,$nick,>,$chr(32),$chr(40),$address,$chr(41)) $strip($1-) } } }
I just cannot figure out why is the NOTICE being added to the hash table, but the TEXT isn't! I mean, those codes are exactly the same, apart from the event, right? Or did I make a typo that I can't see?
Any help is apreciated
Zyzzyx.