mIRC Home    About    Download    Register    News    Help

Print Thread
#83482 19/05/04 06:06 PM
Joined: Jun 2003
Posts: 92
K
k1ll3rz Offline OP
Babel fish
OP Offline
Babel fish
K
Joined: Jun 2003
Posts: 92
is there a better way to write this code?



alias filesearch {
.var %i 1
while (%i <= %lines) {
did -a findfile 8 $remove($read(found.txt,%i),%_scdir)
.inc %i
}
did -a findfile 8 End of Files Found
}

Last edited by k1ll3rz; 19/05/04 06:14 PM.

k1ll3rz
#83483 19/05/04 06:42 PM
Joined: May 2004
Posts: 24
K
Ameglian cow
Offline
Ameglian cow
K
Joined: May 2004
Posts: 24
/filter -foa found.txt findfile 8 change
alias change { return $remove($1-,%_scdir) }

*untested

#83484 20/05/04 06:16 PM
Joined: Jun 2003
Posts: 92
K
k1ll3rz Offline OP
Babel fish
OP Offline
Babel fish
K
Joined: Jun 2003
Posts: 92
it works but it shows it in the dialog listbox more that once. any idea why?


k1ll3rz

Link Copied to Clipboard