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
Rolly
Wanderer


Joined: 16 Oct 2006
Posts: 62

PostPosted: Sun Oct 22, 2006 9:50 pm   

Button message
 
I need some expert help please. I have gone through many of the posts for buttons and can't seem th find anything about this.

I have put all my defenses in buttons for Achaea. The buttons are triggered to color red if the defence goes down and white as the defence is raised. Then pressing the button will do the appropriate action to raise a defence. In order to reset the buttons to the correct status, I also triggered all the messages that come up when the standard "def" alias is used. So that this works right, I first set all of the buttons to red and have the "def" triggers reset the ones to white that are active. This works very well using the typical script:

#noop %btncol( Blind, red, white)
#show %btncol (Blind)

the problem is that I get spammed with messages like:

0 (Blind)

For each of about 32 different defences. Is there a way to get rid of this?

Thanks in advance
Rolly
Reply with quote
Tech
GURU


Joined: 18 Oct 2000
Posts: 2733
Location: Atlanta, USA

PostPosted: Sun Oct 22, 2006 11:18 pm   
 
Hmm... the most straight forward thing to would be to issue the #GAG command.
_________________
Asati di tempari!
Reply with quote
MattLofton
GURU


Joined: 23 Dec 2000
Posts: 4834
Location: USA

PostPosted: Mon Oct 23, 2006 1:47 am   
 
Why are you using #show?
_________________
EDIT: I didn't like my old signature
Reply with quote
Rolly
Wanderer


Joined: 16 Oct 2006
Posts: 62

PostPosted: Mon Oct 23, 2006 11:05 pm   Button Message
 
No good reason I guess I took the #show out and they still work ok. I think I orriginally included the command because it wasn't working right without it. Thanks!
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