mIRC Home    About    Download    Register    News    Help

Print Thread
$$dir #68787 21/01/04 04:42 PM
Joined: Feb 2003
Posts: 3,432
S
sparta Offline OP
Hoopy frood
OP Offline
Hoopy frood
S
Joined: Feb 2003
Posts: 3,432
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,.) }
Re: $$dir #68788 21/01/04 04:52 PM
Joined: Oct 2003
Posts: 273
E
EVH Offline
Fjord artisan
Offline
Fjord artisan
E
Joined: Oct 2003
Posts: 273
set %sound $$sdir($wavedir,Select a Directory)

or

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

Last edited by EVH; 21/01/04 04:55 PM.
Re: $$dir #68789 21/01/04 04:55 PM
Joined: Jan 2003
Posts: 3,012
KingTomato Offline
Hoopy frood
Offline
Hoopy frood
Joined: Jan 2003
Posts: 3,012
you reversed them.

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


-KingTomato
Re: $$dir #68790 21/01/04 04:56 PM
Joined: Oct 2003
Posts: 273
E
EVH Offline
Fjord artisan
Offline
Fjord artisan
E
Joined: Oct 2003
Posts: 273
yeah lol .. just noticed it myself .. thx smirk

Re: $$dir #68791 21/01/04 05:14 PM
Joined: Feb 2003
Posts: 3,432
S
sparta Offline OP
Hoopy frood
OP Offline
Hoopy frood
S
Joined: Feb 2003
Posts: 3,432
$$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,.) }
Re: $$dir #68792 21/01/04 05:17 PM
Joined: Oct 2003
Posts: 273
E
EVH Offline
Fjord artisan
Offline
Fjord artisan
E
Joined: Oct 2003
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.

Last edited by EVH; 21/01/04 05:48 PM.
Re: $$dir #68793 21/01/04 05:46 PM
Joined: Feb 2003
Posts: 3,432
S
sparta Offline OP
Hoopy frood
OP Offline
Hoopy frood
S
Joined: Feb 2003
Posts: 3,432
thnx. that worked smile


if ($me != tired) { return } | else { echo -a Get a pot of coffee now $+($me,.) }