Register to post in forums, or Log in to your existing account
 

Play RetroMUD
Post new topic  Reply to topic     Home » Forums » CMUD General Discussion
AMetnik
Newbie


Joined: 29 Aug 2009
Posts: 4

PostPosted: Sun Aug 30, 2009 3:50 am   

Simple problem about triggers and priority + #cw
 
Hi all, thanks in advance for your help to my problem.
It is like this, i want to have a base colour for all things that start with:
You

made that quite simple with:
pattern: You *
value: #CW teal

this works, and then i would like a trigger to superseed this, so i can get another colour on "You improve..."
pattern: You improve *
value #CW 6

Now i tried changing around the priorities, but it just doesnt work, no matter what the priorities is, it colours everything teal...
Anyone got a clue to help me?
Thanks
AMetnik
Reply with quote
shalimar
GURU


Joined: 04 Aug 2002
Posts: 4690
Location: Pensacola, FL, USA

PostPosted: Sun Aug 30, 2009 12:29 pm   
 
the you improve should have a higher priority #. The lowest number gets processed first.
_________________
Discord: Shalimarwildcat
Reply with quote
AMetnik
Newbie


Joined: 29 Aug 2009
Posts: 4

PostPosted: Tue Sep 01, 2009 10:37 am   
 
Thanks for your reply, still aint working then :-(
Anyone knows a reason for that?
Reply with quote
Rahab
Wizard


Joined: 22 Mar 2007
Posts: 2320

PostPosted: Tue Sep 01, 2009 2:48 pm   
 
It works fine for me. Some things to check: Are both triggers enabled, and are the classes and modules they are in enabled? Is the triggers in the same module, or is the second trigger attached to a different window? Have you checked for syntax errors--are you certain the second trigger compiles? Does the second trigger work if the first one is disabled?
Reply with quote
AMetnik
Newbie


Joined: 29 Aug 2009
Posts: 4

PostPosted: Thu Sep 03, 2009 2:36 pm   
 
actually works on another system... kinda weird :(
Reply with quote
shalimar
GURU


Joined: 04 Aug 2002
Posts: 4690
Location: Pensacola, FL, USA

PostPosted: Thu Sep 03, 2009 10:55 pm   
 
Do you have multi copies of the trigger in a diss package/class/module?
If so it could have a priority tht throws you off.
_________________
Discord: Shalimarwildcat
Reply with quote
AMetnik
Newbie


Joined: 29 Aug 2009
Posts: 4

PostPosted: Wed Sep 09, 2009 8:41 am   
 
nope, no duplicates
Reply with quote
Liath
Novice


Joined: 25 Aug 2009
Posts: 38

PostPosted: Sat Sep 19, 2009 9:02 am   
 
Something that has helped me, and I dunno why...
copy the pattern and then the script to notepad (i keep it open for this when I get it)
delete trigger that isn't working
recreate the trigger.
Sometimes I've noticed that scripts just... don't work sometimes.
I think it has to do with ID numbers.... not 100% sure, but I know it's annoying and it has happened to me a time... or 20.
Reply with quote
Posideon
Beginner


Joined: 06 Feb 2005
Posts: 26

PostPosted: Sun Sep 20, 2009 3:57 pm   
 
I agree with Liath, every once in a while i've got to just cut/paste some setting for it to start working properly. Had a problem with my directions/keypad packages a while back, so i deleted them and downloaded new ones off the code library. Works fine, but now every once in a while i have to cut/paste either the cardinal dir or the ne/se/sw/nw dirs. I just select the folder and ctrl+x, ctrl+v. works fine, and the only thing that does is change the id#'s
Reply with quote
Display posts from previous:   
Post new topic   Reply to topic     Home » Forums » CMUD 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