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


Joined: 03 Nov 2001
Posts: 7
Location: USA

PostPosted: Wed Aug 21, 2002 5:24 am   

A Command for Mapper
 
I am looking for a command that can change the room color in the mapper. Is there one?

WhatnoW??
Reply with quote
TonDiening
GURU


Joined: 26 Jul 2001
Posts: 1958
Location: Canada

PostPosted: Wed Aug 21, 2002 6:05 am   
 
quote:

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..



Example from here:
quote:

Ton Diening:
#NOOP %roomcol( %roomname(),$FF0000)

Vijilante:

In help files it is standard practice to enclose optional parameters in []'s. Hence the brackets should not be there in actual usage.

For some examples:
#SHOW %roomcol (1)
Will display the current color of room 1.
#SHOW %roomcol (%roomnum())
Will display the current color of whatever room your are in.
#NOOP %roomcol (1,"red")
Would set the room color of room 1 to red.

If you would like a list of colors that have predefined RGB values look up %colorname in the help files.




Ton Diening
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