I've been trying for a day now, to able to do an on input command, where if i type !find <artist name> it will search my mp3 folder and echo back just songs by that artist including tha artists name.

Here is my code.

mp3.search {
var %mp3.search $findfile(%mpegdir,$2-* $+ .mp3,0)
while (mp3.search) { /echo -a $1- }
dec %mp3.search
}

I apologize for the hidious coding, but any help would be GREATLY appreciated.

-Ho0tz aka arkt1k