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
horks
Apprentice


Joined: 20 Jul 2001
Posts: 127
Location: USA

PostPosted: Mon May 03, 2004 8:46 pm   

Room Color
 
I'm looking for something I can put into an alias to change the Room Color on the map. I'm digging through the help file, but not finding anything. Any help? thanks.
Reply with quote
horks
Apprentice


Joined: 20 Jul 2001
Posts: 127
Location: USA

PostPosted: Mon May 03, 2004 8:52 pm   
 
hmm, okay, i found a function that sounds like it might do what I want:
Code:

roomcol

Syntax: %roomcol([vNum], [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 vNum is omitted, the current
room is used.


What sort of command do i use to activate this?
Reply with quote
Guede
Wanderer


Joined: 30 Nov 2003
Posts: 65
Location: United Kingdom

PostPosted: Mon May 03, 2004 8:53 pm   
 
Hi,

#ALIAS croom {%maplocked(0);%roomcol(,%1);%maplocked(1)}

Type croom <colour> to colour the room for example: croom yellow will make the room you are currently in (the one the mapper says you are in) yellow.

HTH

Guede
Reply with quote
horks
Apprentice


Joined: 20 Jul 2001
Posts: 127
Location: USA

PostPosted: Mon May 03, 2004 9:10 pm   
 
awsome! thanks. Your alias has one undesired effect, and that's sending the results of those functions to the mud. In the help file for %maplocked, there is a sample that uses the function in a #NOOP command. doing this, removes the function resules from being sent.

Thanks again for your help
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