mIRC Home    About    Download    Register    News    Help

Topic Options
#68787 - 21/01/04 04:42 PM $$dir
sparta Offline
Planetary brain

Registered: 22/02/03
Posts: 3432
Loc: Sweden/Borlänge
set %sound $$dir="$mircdirwav,Select AwayPager Sound" *.wav

that one dont work as i want it to.. any way you can make it open the "wav" dir? that opens only the mirc dir, somone that have smart ideas about how make it open the wav dir, then set the file exstention as *.wav so all you see in that folder is the wav files? im stuck here :tongue:
_________________________
if ($me != tired) { return } | else { echo -a Get a pot of coffee now $+($me,.) }

Top
#68788 - 21/01/04 04:52 PM Re: $$dir
EVH Offline
Fjord artisan

Registered: 22/10/03
Posts: 273
set %sound $$sdir($wavedir,Select a Directory)

or

set %sound $$sfile($wavedir*.wav,Select a File)


Edited by EVH (21/01/04 04:55 PM)

Top
#68789 - 21/01/04 04:55 PM Re: $$dir
KingTomato Offline
Planetary brain

Registered: 04/01/03
Posts: 3012
Loc: New Hampshire, USA
you reversed them.

$sfile gets the "Select a file" heading, and $sdir gets "Select a directory"
_________________________
-KingTomato

Top
#68790 - 21/01/04 04:56 PM Re: $$dir
EVH Offline
Fjord artisan

Registered: 22/10/03
Posts: 273
yeah lol .. just noticed it myself .. thx smirk

Top
#68791 - 21/01/04 05:14 PM Re: $$dir
sparta Offline
Planetary brain

Registered: 22/02/03
Posts: 3432
Loc: Sweden/Borlänge
$$sfile($wavedir*.wav,Select a File)
didnt work, it open the "sound" folder, i need it to open a folder named "wav".. so i need somthing like $mircdir/wav :tongue:
_________________________
if ($me != tired) { return } | else { echo -a Get a pot of coffee now $+($me,.) }

Top
#68792 - 21/01/04 05:17 PM Re: $$dir
EVH Offline
Fjord artisan

Registered: 22/10/03
Posts: 273
Well if you have a folder in your mIRC
folder named 'wav' you can use this
set %sound $$sfile(wav\*.wav,Select a File)

If the wav folder doesn't exist, it
will just return your mIRC folder.


Edited by EVH (21/01/04 05:48 PM)

Top
#68793 - 21/01/04 05:46 PM Re: $$dir
sparta Offline
Planetary brain

Registered: 22/02/03
Posts: 3432
Loc: Sweden/Borlänge
thnx. that worked smile
_________________________
if ($me != tired) { return } | else { echo -a Get a pot of coffee now $+($me,.) }

Top