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


Joined: 17 Aug 2002
Posts: 31
Location: Denmark

PostPosted: Sat May 03, 2003 8:21 pm   

#SHOW %roomcol (%roomnum())
 
Hi

Iam standing in a room and type #SHOW %roomcol (%roomnum()).

then I get: 8421631 (4581) but what does the number mean I think 4581 is the roomnumber.

I need to get the color of the room Iam in so I can use that color to color a new room with the same color.

#NOOP %roomcol( %roomnum( ), 8421631) This dosent work.
Reply with quote
LightBulb
MASTER


Joined: 28 Nov 2000
Posts: 4817
Location: USA

PostPosted: Sat May 03, 2003 11:59 pm   
 
roomcol

Syntax: %roomcol( room, [color])

Return or set the color of a room. The Color can be a string like "red", "blue", etc. Or it can be an RGB value in the format $RRGGBB where each value is a hexadecimal value. For example, $FF0000 sets the color to all red. If room is omitted, the current room is used.

To get the color of the current room
#SHOW %roomcol()

LightBulb
Advanced Member
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