TonDiening GURU
Joined: 26 Jul 2001 Posts: 1958 Location: Canada
|
Posted: 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 |
|