Register to post in forums, or Log in to your existing account
 

Play RetroMUD
Post new topic  Reply to topic     Home » Forums » zMUD General Discussion
Draconar
Beginner


Joined: 26 Dec 2005
Posts: 21

PostPosted: Sat Jul 04, 2009 5:54 pm   

How to: trigger sound on receiving text
 
This should be a simple question, but the solution eludes me:

I have enter.wav, a sound file I want to play when zMUD sees the text "Comm: Preloading data for:". How do I set this trigger up? Where do I set it up? Treat me as a complete newbie, please.
Reply with quote
Troublemag
Wanderer


Joined: 14 Jul 2004
Posts: 83

PostPosted: Sat Jul 04, 2009 6:11 pm   
 
Code:
#trigger {Comm: Preloading data for:} {#play c:\directory name\file name.wav}


If you have enter.wav in your zmud directory, you don't need to specify the path, only the file name.
_________________
CMUDPro 3.22
Reply with quote
Draconar
Beginner


Joined: 26 Dec 2005
Posts: 21

PostPosted: Sat Jul 04, 2009 6:13 pm   
 
Thanks. :)

For clarification: I don't know WHERE to put things like #play enter.wav and #trigger.
Reply with quote
Troublemag
Wanderer


Joined: 14 Jul 2004
Posts: 83

PostPosted: Sat Jul 04, 2009 6:14 pm   
 
Correct the directory name and file name to match your file information then enter it on the command line of your main zmud window. It will create the trigger for you.
_________________
CMUDPro 3.22
Reply with quote
Draconar
Beginner


Joined: 26 Dec 2005
Posts: 21

PostPosted: Sat Jul 04, 2009 6:17 pm   
 
I had tried that too, and just tried it again, but for some reason it just sends #trigger {Comm: Preloading data for:} {#play c:\directory name\file name.wav} to the MUD, with the MUD's response of Huh?
Reply with quote
Draconar
Beginner


Joined: 26 Dec 2005
Posts: 21

PostPosted: Sat Jul 04, 2009 6:17 pm   
 
...rather, I did that with the appropriate directory/file.
Reply with quote
Troublemag
Wanderer


Joined: 14 Jul 2004
Posts: 83

PostPosted: Sat Jul 04, 2009 6:19 pm   
 
It sounds like you have parsing turned off. Hit ctrl/r to turn parsing back on and try again... only when you're entering the information, change the "c:\directory name\file name.wav" to match the directory and file you're wanting to play when the trigger fires.
_________________
CMUDPro 3.22
Reply with quote
Draconar
Beginner


Joined: 26 Dec 2005
Posts: 21

PostPosted: Sat Jul 04, 2009 6:23 pm   
 
I verified that parsing is on just now. Thanks for your help so far. Still stuck on this one. The directory information is all set but the command skips zMUD and goes directly to the MUD.
Reply with quote
Draconar
Beginner


Joined: 26 Dec 2005
Posts: 21

PostPosted: Sat Jul 04, 2009 6:27 pm   
 
For the record I'm putting this into the command line: #trigger {Comm: Preloading data for:} {#play enter.wav}

I've read that zMUD looks in the sound folder for the MUD in use, so the full directory isn't necessary. Still, I think the main issue here is the fact that zMUD won't make the trigger at all. I'm receiving the MUD's own response output of Huh? - it looks as if zMUD doesn't catch the pound sign zMUD-based command for some reason.
Reply with quote
Taz
GURU


Joined: 28 Sep 2000
Posts: 1395
Location: United Kingdom

PostPosted: Sun Jul 05, 2009 1:14 am   
 
If parsing is on and that is going direct to the mud then the only other thing I can think of is that you have turned the command char off in the special characters preference panel or changed it to something else.
_________________
Taz :)
Reply with quote
Display posts from previous:   
Post new topic   Reply to topic     Home » Forums » zMUD General Discussion All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum

© 2009 Zugg Software. Hosted by Wolfpaw.net