i need a a small dj-searchscript that displays the path from a file on my shell.
When i type this in my shell:
root:~# find /home/dj/djpool -iname "*What is Love*"
putty displays the following result:
/home/dj/djpool/H/Haddaway/2nd Edition/Haddaway-00_What is Love.mp3
/home/dj/djpool/H/Haddaway/2nd Edition/Haddaway-05_What is Love (Rapino-Brothers-Mix).mp3
What i want to do, is to display the result in an IRC-Channel when i type
!find what is love
should the bot display:
/home/dj/djpool/H/Haddaway/2nd Edition/Haddaway-00_What is Love.mp3
/home/dj/djpool/H/Haddaway/2nd Edition/Haddaway-05_What is Love (Rapino-Brothers-Mix).mp3
Best regards
tessa1
Last edited by tessa1 on Mon Sep 25, 2006 12:48 pm, edited 1 time in total.
I know this is the scripts request forum, and you probably want a whole working script. I just thought I'd point out that the manpage for "file" for tcl has an example of a filesearch script (although not specifically for eggdrop output.)