mIRC Homepage
Posted By: DeathfireD 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

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?
Posted By: tidy_trax Re: need help with an on :text event. - 08/04/04 12:33 AM
on $*^:text:/^\d+$/:#:{
echo -mbflirt # $+(<,$nick,@binon>) $bin.decode($1-)
haltdef
}
Posted By: DeathfireD Re: need help with an on :text event. - 08/04/04 12:38 AM
ROFL dident even see that thanks Tidy_Trax. O by the way I added you in my script under thanks, for all the help you have given me. You might not know it but you have helped alot. Ill post a link here later.
Posted By: tidy_trax Re: need help with an on :text event. - 08/04/04 01:03 AM
yw smile
Posted By: DeathfireD Re: need help with an on :text event. - 08/04/04 08:03 PM
the link to the script is http://www.hawkee.com/view.php?file_id=641 Hope you like it. Any ideas on how to make it any better please tell me thanks.
© mIRC Discussion Forums