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
ToyBear
Beginner


Joined: 04 Sep 2003
Posts: 25
Location: Singapore

PostPosted: Mon Sep 08, 2003 1:38 pm   

BEEP + LOOP
 
hi

i want to make my beep sound with 2 second pause inbetween for 6 loops or rounds.

how do i type tat?

#loop 5 #beep?
Reply with quote
Snoop Bob
Beginner


Joined: 05 Sep 2003
Posts: 23

PostPosted: Mon Sep 08, 2003 8:50 pm   
 
Want the beep after or before...

#wa 2000 = 2 seconds :)
Reply with quote
ToyBear
Beginner


Joined: 04 Sep 2003
Posts: 25
Location: Singapore

PostPosted: Tue Sep 09, 2003 10:54 pm   
 
i want it to sound on trigger.

Beep (2seconds) Beep (2seconds) Beep (2seconds) Beep (2seconds) Beep (2seconds) Beep (2seconds)
Reply with quote
doomfyre
Apprentice


Joined: 03 Jan 2002
Posts: 152
Location: USA

PostPosted: Wed Sep 10, 2003 12:09 am   
 
One thing i can suggest for certain....dont use #wait 2000. This would cause you to not be able to input anything for 12 seconds or more each time this trigger fires.

Try:

#TRIGGER {Whatever the triggering phrase is} {#6 (#beep; #ALARM +2)}


EDIT: Hrm, the syntax looks wrong to me the more i look at it, but it should be something like that. Worth a try at any rate.
Reply with quote
ToyBear
Beginner


Joined: 04 Sep 2003
Posts: 25
Location: Singapore

PostPosted: Wed Sep 10, 2003 1:39 pm   
 
hmm what is #6?

anyway it doesn't work i can onli key in

#beep;#alarm +2
Reply with quote
moksha
Novice


Joined: 13 Oct 2002
Posts: 37
Location: United Kingdom

PostPosted: Wed Sep 10, 2003 3:10 pm   
 
Hiya

I'm not a Guru but you could use something like this - It probably isn't the most efficient way, but it works.

#TRIGGER {Whatever the triggering phrase is} {#VAR BeepVar 1;#BEEP;#ALA 2 {#beep;#ADD BeepVar 1;#if (@beepVar = 6) {#UNTR 2}}


To answer your question about '#', #6 north will send north to the mud 6 times.

Moksha
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