home *** CD-ROM | disk | FTP | other *** search
- /* MCF_GETSOUND.AMIRX
- // $VER: MCF_GETSOUND.AMIRX 4.8 (04.11.96)
- \\ Written by Donald T. Becker (dtbecker@prolog.net) IRC: StarDustr
- // Please mail any bug reports/comments to the above address with a subject
- \\ header of MCF.AMIRX.
- //
- \\ ** What to do with this file?
- // Put this script in REXX: It will be used by MCF.AMIRX.
- \\
- */
- ;parse arg MCFenv SoundDir Unick wavfile junk;address value(MCFenv);options results;getmynick;mynick=result;if upper(wavfile)="LIST" then;do;FN="T:"||mynick||".List";if ~exists(FN) then;address command "List >"FN SoundDir" lformat %n";end;if upper(wavfile) ~="LIST" then;do;FN=SoundDir||wavfile;if ~exists(FN) then;do;"RAW PRIVMSG "Unick" :I don't have"d2c(2) wavfile d2c(2)"either!";exit;end;end;"Say /DCC SEND "Unick FN;exit