alias mp3list {
/write -c mp3list.txt ---[mp3 list]---
$findfile(C:\,*.mp3,0,/write mp3list.txt $nopath($1-))
}
alias findmp3 {
var %i 1
while ($read(mp3list.txt,%i) != $null) {
if (* $+ $1- $+ * iswm $read(mp3list.txt,%i)) {
//echo -a $read(mp3list.txt,%i)
}
inc %i
}
}
usage:
/mp3list - to make the list
/findmp3 blah - this would echo any mp3's with blah in the name
just change echo to message or whatever(if you dont want echo)
put in remote - alt+r
tested: /findmp3 flip
flip n fill - dance with somebody.mp3
flip n fill - nessaja.mp3
flip n fill - field of dreams.mp3
flip n fill - shooting star.mp3
pornkings vs. flip n fill - shake ya shimmy.mp3
p.s. unless you have a very fast computer it will take a while to make the list
also a hashtable would be much faster, so ask me if ya want that