|
Rolly Wanderer
Joined: 16 Oct 2006 Posts: 62
|
Posted: 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 |
|
|
|
Tech GURU
Joined: 18 Oct 2000 Posts: 2733 Location: Atlanta, USA
|
Posted: Sun Oct 22, 2006 11:18 pm |
Hmm... the most straight forward thing to would be to issue the #GAG command.
|
|
_________________ Asati di tempari! |
|
|
|
MattLofton GURU
Joined: 23 Dec 2000 Posts: 4834 Location: USA
|
Posted: Mon Oct 23, 2006 1:47 am |
Why are you using #show?
|
|
_________________ EDIT: I didn't like my old signature |
|
|
|
Rolly Wanderer
Joined: 16 Oct 2006 Posts: 62
|
Posted: 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!
|
|
|
|
|
|