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


Joined: 05 Jan 2003
Posts: 39
Location: Netherlands

PostPosted: Wed Mar 03, 2004 6:34 pm   

Coloring rooms (%roomcol fuction)
 
okey, I can't figure this one out.

I made an alias to color shops on my map a certain color when I type it, this works wonderful but theres a irritating sideaffect where the colors numeric value gets send to the mud as output and I can't figure out why its doing that.

This is what I use:
#ALIAS shop {#EXEC %roomcol( %roomnum, $808040)}

Which returns:
4227200

change the $808040 into red and it'll be 255.

Any ideas how to make it so it doesn't show the numeric value anymore?
Reply with quote
Pega
Magician


Joined: 08 Jan 2001
Posts: 341
Location: Singapore

PostPosted: Wed Mar 03, 2004 7:55 pm   
 
#EXEC does that, use #NOOP instead. Smile
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