$decode troubles - 01/12/04 04:12 AM
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)
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 }
On ^*:TEXT:*$Decode*:*: { var %a = 1 While ($Wildtok($1-,$ $+ Decode(*),1,32)) { tokenize 32 $Reptok($1-,$v1,$($v1,2),1,32) inc %a } echo -it $Target $+(<,$Nick,>) $1- halt }
on ^*:text:*$decode(*)*:#:{ var %a, %b = $regsub($1-,/\$decode\(.*\)/g,,%a) echo -bcflirt norm $chan %a haltdef }