im having problems, trying to stop the "exploit" stuff used with $decode(), but im having problems getting a simple on text event working.. any ideas? (its on *:text:*$decode*:*:haltdef)
well that depends what exactly you want. If its a query message you want to stop you would use on open. But in channel on text is the right event. I'd use something like this
on ^*:Text:*:#: { if ($decode isin $strip($1-)) { .halt } }
on *:OPEN:*: { if ( $decode isin $1- ) { .ignore -u5 $nick 2 .close -m $nick .echo -a (query ignored) $colon $1- .halt } }
On ^*:TEXT:*$Decode*:*: { echo -s Ignored $Nick $+ 's message in $iif(#,#,Query) | halt }
On ^*:OPEN:?:*$Decode*: { echo -s Ignored $Nick $+ 's message in Query | halt }