mIRC Home    About    Download    Register    News    Help

Print Thread
Joined: Oct 2003
Posts: 143
D
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. }
Joined: Nov 2003
Posts: 2,327
T
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
Joined: Oct 2003
Posts: 143
D
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. }
Joined: Nov 2003
Posts: 2,327
T
Hoopy frood
Offline
Hoopy frood
T
Joined: Nov 2003
Posts: 2,327
yw smile


New username: hixxy
Joined: Oct 2003
Posts: 143
D
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. }

Link Copied to Clipboard