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
bobbalong
Newbie


Joined: 02 Aug 2009
Posts: 9

PostPosted: Sun Aug 02, 2009 4:19 pm   

Button colour
 
how can i give a button a colour and still have the caption over the top?
Reply with quote
MattLofton
GURU


Joined: 23 Dec 2000
Posts: 4834
Location: USA

PostPosted: Sun Aug 02, 2009 5:03 pm   
 
#call %btncol(name or number of your button, color you want). The caption doesn't ever move in ZMud until you specifically change it.
_________________
EDIT: I didn't like my old signature
Reply with quote
bobbalong
Newbie


Joined: 02 Aug 2009
Posts: 9

PostPosted: Sun Aug 02, 2009 6:55 pm   
 
where do i put that?
i did

#call %btncol(red)
punch @t

in the value but nothing happened
Reply with quote
Tech
GURU


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

PostPosted: Sun Aug 02, 2009 11:07 pm   
 
You only put in the color... you also need to put in the name/number of your button. So if your button is called "HPBtn" then you would do

#CALL %btncol(HPBtn, red)
_________________
Asati di tempari!
Reply with quote
bobbalong
Newbie


Joined: 02 Aug 2009
Posts: 9

PostPosted: Fri Aug 07, 2009 1:49 am   
 
i get

#IF (%1=<50) {drink health}
^ syntax error

after i've entered it when i go to check it in my trigger?





Heh . . heh . . . . . heh . . . i shouldnt have put this here :S
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