mIRC Home    About    Download    Register    News    Help

Print Thread
wav play script? #71046 11/02/04 03:37 PM
Joined: Oct 2003
Posts: 12
T
twobluemoons Offline OP
Pikka bird
OP Offline
Pikka bird
T
Joined: Oct 2003
Posts: 12
Hi. I'm using 6.12, and I want to have my sounds directory come up.

I tried pasting this:

Play A Wave:/sound $$file="Choose a wave!" $wavedir $$?="Enter your message:"

in my channels popups. What I get is a box with my sounds comes up, and under "files of type" it says: "No Selection".
Then, if i choose a wav to play, what I get in the channel is a notice saying, * /sound: no such file 'and.wav'

What have I done wrong?
Thanks for listening to my silly problem and thanks in advance for any help you can offer.

twobluemoons

Re: wav play script? #71047 12/02/04 01:21 AM
Joined: Sep 2003
Posts: 4,230
D
DaveC Offline
Hoopy frood
Offline
Hoopy frood
D
Joined: Sep 2003
Posts: 4,230
Play A Wave:/sound $+(",$$sfile($wavedir*.wav,Choose a wave!,ok-text-here),") $$?="Enter your message:"

Re: wav play script? #71048 12/02/04 03:20 AM
Joined: Oct 2003
Posts: 12
T
twobluemoons Offline OP
Pikka bird
OP Offline
Pikka bird
T
Joined: Oct 2003
Posts: 12
That works great! Thanks Dave.