|
coldcut Beginner
Joined: 09 Apr 2003 Posts: 17 Location: USA
|
Posted: Fri Nov 14, 2003 8:28 am
Maybe I should try a new approoach..color trig |
Thanks to all for the help offered, but nothing so far has worked. All I can guess is that it has something to do with the symbols themselves. So heres a couple other options Id like to try.
Is there a way to highlight the line before or after a given line? For example I can use #trigger {~[Exit} {#gag -1} to gag the line before the list of exits which would be the roomname...is there a similar way to apply a highlight instead of a gag so that zMud triggers on the exits to hightlight the roomname? I can offset the roomname so it appears on the line after my prompt.
Given that I can gag the line as described above is there a way to immediately replace it with a zMud generated copy of the text (roomname) in the same spot?
If you want to test these triggers the mud is Avatar. Great game, friendly people.
avatar.outland.org port 3000 68.85.124.248
The simplest symbol to apply for a test would be sneak so use a rogue.
Here is a list of commands needed to test the trig.
prompt |BR|%h/|BC|%Hhp |BR|%m/|BC|%Mmana |BR|%v/|BC|%Vmv |N|
will set your prompt accordingly.
#trigger {(%d)[/ ](%d)hp(%s)(%d)[/ ](%d)mana(%s)(%d)[/ ](%d)mv (%*)}
{#hi}
is the trigger to color text after the prompt.(Or the whole line actually.) |
|
|
|
LightBulb MASTER
Joined: 28 Nov 2000 Posts: 4817 Location: USA
|
Posted: Fri Nov 14, 2003 11:46 am |
#TR {%d/%dhp %d/%dmana %d/%dmv (*)} {#PCOL hi,green %x1}
#TR {%d/%dhp %d/%dmana %d/%dmv} {#HI} {} {prompt}
Either trigger works with no problems, whether sneaking or not.
Personally, I suspect you're using ^, the beginning-of-line anchor character, which would indeed cause your triggers to stop working whenever there were special (or normal) characters at the beginning of it. If not, you must have some non-default preference setting either on the MUD, or on zMUD, or on both, which causes this behavior. There's nothing wrong with the trigger pattern. |
|
|
|
|
|
|
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
|
|