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


Joined: 09 Jun 2002
Posts: 186
Location: USA

PostPosted: Mon Dec 01, 2003 1:35 am   

Did this before, but don't remember now..
 
Ok, I had it so I would type color <where I want it, names, system, etc> <rgb color> <what I wanted to color>

So for instance if I could type color system 00ccaa Obvious Exits: *
This would make a trigger in my Main|Colors|System folder of #TR {Obvious Exits: *} {#CW $00ccaa}

For some reason while trying to restore everything my brain had a dump and I can't remember for the life of me how I did it....Any help would be great
Reply with quote
LightBulb
MASTER


Joined: 28 Nov 2000
Posts: 4817
Location: USA

PostPosted: Mon Dec 01, 2003 6:09 am   
 
#AL color {#TR {%-3} {#CW $%2} {%1}}

It seems to me that it would be just as easy to use the standard #TRIGGER command and less likely to result in mistakes, such as getting things in the wrong order.
#TR {Obvious Exits: *} {#CW $00ccaa} {Main|Colors|System}
Reply with quote
RobMacAF
Apprentice


Joined: 09 Jun 2002
Posts: 186
Location: USA

PostPosted: Mon Dec 01, 2003 10:24 pm   
 
Ok, I am at work right now and can't try it but what does the %-3 do? Actually, I am pretty sure what it does, which is captures everything after %2, but is there any better explaination to why/how it works
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