mIRC Home    About    Download    Register    News    Help

Print Thread
need help with an on :text event. #78400 07/04/04 09:03 PM
Joined: Oct 2003
Posts: 143
D
DeathfireD Offline OP
Vogon poet
OP Offline
Vogon poet
D
Joined: Oct 2003
Posts: 143
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?


if (Windows isin %txt.1) { /kick # $nick Windows is a badword tisk tisk tisk. }
Re: need help with an on :text event. #78401 08/04/04 12:33 AM
Joined: Nov 2003
Posts: 2,327
T
tidy_trax Offline
Hoopy frood
Offline
Hoopy frood
T
Joined: Nov 2003
Posts: 2,327
on $*^:text:/^\d+$/:#:{
echo -mbflirt # $+(<,$nick,@binon>) $bin.decode($1-)
haltdef
}


New username: hixxy
Re: need help with an on :text event. #78402 08/04/04 12:38 AM
Joined: Oct 2003
Posts: 143
D
DeathfireD Offline OP
Vogon poet
OP Offline
Vogon poet
D
Joined: Oct 2003
Posts: 143
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.


if (Windows isin %txt.1) { /kick # $nick Windows is a badword tisk tisk tisk. }
Re: need help with an on :text event. #78403 08/04/04 01:03 AM
Joined: Nov 2003
Posts: 2,327
T
tidy_trax Offline
Hoopy frood
Offline
Hoopy frood
T
Joined: Nov 2003
Posts: 2,327
yw smile


New username: hixxy
Re: need help with an on :text event. #78404 08/04/04 08:03 PM
Joined: Oct 2003
Posts: 143
D
DeathfireD Offline OP
Vogon poet
OP Offline
Vogon poet
D
Joined: Oct 2003
Posts: 143
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.


if (Windows isin %txt.1) { /kick # $nick Windows is a badword tisk tisk tisk. }