mIRC Home    About    Download    Register    News    Help

Print Thread
#81474 01/05/04 05:39 AM
H
Hdaen
Hdaen
H
I used to have a script that when you typed /play , you would get a popup dialog with your sounds/music and you could point and click to have it play in mIRC... almost like in MSChat with the megaphone button, and you could type a message after selecting your music file. If anyone could help me in writing this script I would be greatful.

#81475 01/05/04 08:14 AM
S
slartibartfast
slartibartfast
S
I'd suggest another command then /play cause /play is a mIRC command alreaddy.

Anyways ... you want others in the channel to play the sound if they have it ?

If yes, the command is
Code:
/sound #CHANNEL "filename" message


Filename can be anything mirc can play, wav mp3.
If a user sees this sound request (and have it ON) and have the correct file in their SOUND directory (in mIRC) it will play for them aswell. (the "" if for any spaces in the file)

It will look something like ths....
Code:
/sound #CHANNEL "beat.wav" hums to the beat

* slartibartfast hums to the beat


So just call the /sound from an alias, it that is what you want.

#81476 01/05/04 08:19 AM
H
Hdaen
Hdaen
H
I want to make a script that will call up a selection box (ie: File --- Open.. then you get a box to select the file you want to open) But I want it to open the mIRC Sound folder so I can select a sound file and have it play.

#81477 01/05/04 10:49 AM
I
Iori
Iori
I
alias soundplay sound $+(",$$sfile($wavedir),") $input(Type an action (optional),e)


Link Copied to Clipboard