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
jtviper456
Novice


Joined: 17 Jan 2003
Posts: 37

PostPosted: Fri Mar 12, 2004 2:21 am   

Button Question
 
I have a button:
=====================================================================##BUTTON 1 {Channel-OFF} {#SA Channel MODE: ON;channel=1;#while {@channel=1} {kyosho}} {Channel-ON}
{#SA Channel OFF:;channel=0} {} {1} {} {} {} {} {} {} {} {} {} {} {} "" {}
{} {}
=====================================================================

The problem, it's executing that command entirely to fast(kyosho), and making Zmud perform an illegal operation. Any idea how to slow that down, or possibly a better code?(#wait 3000;kyosho) doesn't work, all that does is overbuff.
Reply with quote
LightBulb
MASTER


Joined: 28 Nov 2000
Posts: 4817
Location: USA

PostPosted: Fri Mar 12, 2004 10:27 am   
 
Just use a separate alarm, and toggle it on/off with the button.
#BUTTON 1 {Channel-OFF} {#SA Channel MODE: ON;channel=1;#T+ channel1} {Channel-ON} {#SA Channel OFF:;channel=0;#T- channel1} {} {1} {} {} {} {} {} {} {} {} {} {} {} "" {}
#ALARM channel1 *3 {kyosho} {} {disable}
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