need help with an on :text event. - 07/04/04 09:03 PM
ok im using this to pick up binary people are saying in the channel
how would i get it to work with other numbers not just 010110101? like I add encription keys into my add-on and I get other numbers (exp. 010020102030040501060) it goes up more if I Use higher numbers. Any way to get that on text and INPUT pick up other numbers?
Code:
on *:INPUT:#:{ if $left($1,1) isin 01 { .msg # $1- echo -a $+(<,$me,@binon>) $bin.decode($1-) halt } } on $*^:text:/^[01 ]+$/:#:{ echo -mbflirt # $+(<,$nick,@binon>) $bin.decode($1-) haltdef }
how would i get it to work with other numbers not just 010110101? like I add encription keys into my add-on and I get other numbers (exp. 010020102030040501060) it goes up more if I Use higher numbers. Any way to get that on text and INPUT pick up other numbers?