 |
kdberg Beginner
Joined: 06 Jan 2003 Posts: 18 Location: USA
|
Posted: Tue Jan 14, 2003 4:50 am
Triggering on Ansi Color |
I'm really pulling out my hair on this one:
I define a new trigger and click on ANSI TRIGGER in options. Do a quick look in my MUD and copy the beginning of the line right off the output window:
%e[1;34mYou see
I paste it into the pattern field, and do the quick look again, but the trigger won't fire. I've tried every combination I can think of, preceding the [ and ; by ~, replacing the %e by %char(27), etc. Tried to trigger on newline as well as prompt. Just won't fire.
What am I missing? |
|
|
 |
MattLofton GURU
Joined: 23 Dec 2000 Posts: 4834 Location: USA
|
Posted: Tue Jan 14, 2003 5:28 am |
quote:
I'm really pulling out my hair on this one:
I define a new trigger and click on ANSI TRIGGER in options. Do a quick look in my MUD and copy the beginning of the line right off the output window:
%e[1;34mYou see
I paste it into the pattern field, and do the quick look again, but the trigger won't fire. I've tried every combination I can think of, preceding the [ and ; by ~, replacing the %e by %char(27), etc. Tried to trigger on newline as well as prompt. Just won't fire.
What am I missing?
Having just tested this on an empty character (hit ESC at the character selection window), I'm not getting any problems. This means one of four things (that I can think of):
1)your trigger or the class it's in is getting disabled before it fires
2)you didn't activate the changes to the trigger by clicking elsewhere (like, onto another trigger)
3)ANSI color isn't turned on in Preferences
4)your settings file or your copy of ZMud itself is corrupted. The latter will usually occur if you mess with Default.mud or custom.mud (at least one file governs the use of various scripting commands). The former can happen at any time and for no apparent reason to the average joe, usually because of bad syntax or bugs in the ZMud code (there aren't so many of them any more). The corruption seems to occur around instances of Access Violations and other strange error messages you might get.
EDIT: whoopsie, one last thing. There are a few things in ZMud that require a reload. I'm pretty sure ansi coloring isn't one of those things, though.
li'l shmoe of Dragon's Gate MUD |
|
|
 |
kdberg Beginner
Joined: 06 Jan 2003 Posts: 18 Location: USA
|
Posted: Tue Jan 14, 2003 6:36 am |
Well it ended up being something funny in zMUD. In the course of trying to debug I went into preferences and turned emulate control codes off for awhile. When I turned it back on the trigger fired as it should.
|
|
|
 |
|
|
|
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
|
|