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
geniusclown
Magician


Joined: 23 Apr 2003
Posts: 358
Location: USA

PostPosted: Mon May 05, 2003 9:50 pm   

#CO and #CW priorities
 
I recently started using zMUD to play DragonRealms. I imported all of my 300+ highlights from eScape, Simu's java client. The names, I placed in a class called namehighlights, all of which are set on triggers that use #CW, and all the other highlights I placed in a class called highlights, many of which are set on triggers that use #CO.

My problem is this: when there's a full-line highlight (#CO) which includes a friend (#CW), the #CO overrides the #CW. The upshot of which is, when a friend walks into the room, it looks the same as anyone else walking into the room.

Question is, is there a way to prioritize so that #CO commands fires first, then any #CW commands? I tried renaming the classes so they'd be ordered differently, but it didn't change anything.

Any help would be appreciated.
Reply with quote
Lalaynya
Wanderer


Joined: 23 Aug 2002
Posts: 96

PostPosted: Mon May 05, 2003 10:09 pm   
 
Go to view menu, set the sort to none, the view again, and check "Show all classes" ... now you'll have ALL your settings showing, regardless of class.... if you highlight a setting, you can then click the up arrow button to the top right, and move it up in priority, so it fires sooner.... move all your #CO triggers up higher than the #CW triggers, and the line colors will occur first, word colors second.
Reply with quote
geniusclown
Magician


Joined: 23 Apr 2003
Posts: 358
Location: USA

PostPosted: Wed May 07, 2003 4:30 pm   
 
I tried your suggestion, and it would take absolutely forever for my poor old CPU to do it that way... every time I move something up or down in a list that huge, it takes several seconds to register it. However, using your idea, I did showall, and sorted by value, and that seems to have solved the problem. Thanks!
Reply with quote
geniusclown
Magician


Joined: 23 Apr 2003
Posts: 358
Location: USA

PostPosted: Thu May 08, 2003 7:29 pm   
 
After working with this issue as described above, I'm still having problems.

Example: I have #TRIGGER {just arrived.} { #CW green};#TRIGGER {Bob} { #CO red};

By having 2 spaces before the arrival highlight and 1 before the name highlight, when I sort by Value, the arrival is higher on the list than the name, so it should fire first, then the name should fire. Expected result would be "Bob" in red, and "just arrived." in green. But, the actual result is "Bob just arrived." is all in green. If Jack, who's not on my list, arrives, then I want the entire line to be green, including the name "Jack".

Any further suggestions?
Reply with quote
LightBulb
MASTER


Joined: 28 Nov 2000
Posts: 4817
Location: USA

PostPosted: Thu May 08, 2003 10:03 pm   
 
You have several misconceptions.

#CO colors the whole line.
#CW colors the matching pattern.

If Jack, who's not on your list, arrives you want the entire line, including Jack, colored green. But you used #CW which won't have any effect on "Jack", only on "has arrived." Likewise, you only want the single word, "Bob" colored red but you used #CO which will color the entire line.

The View menu's Sort only affects the order settings are displayed in. It has absolutely no effect on the actual position of the setting within the list. The actual position can only be viewed when you Sort by None, and can only be changed using the Arrow buttons or with the mouse.

Leading spaces get dropped when the setting is created. When you Sort by Value, Bob's trigger comes first (remember this isn't its actual position), because #CO comes before #CW.

As for suggestions:
Do what Lalaynya told you to do. It's probably less work than inserting all those spaces anyway.

LightBulb
Advanced Member
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