|
Paxstris Newbie
Joined: 10 Apr 2003 Posts: 6
|
Posted: Thu Apr 10, 2003 7:23 pm
Triggers not firing? |
For Medievia I have channel headers on... namely:
[CLAN]
[FORM]
[TOWN]
[BL]
[BLOODLINE]
For these, I use the #CAP command to capture them to another window, COMMUNICATION.
Before, I was using zMUD 6.1 (or the one that was before 6.4) and the trigger i used to capture the channel headers is:
#trigger {~[FORM]} {#CAP COMMUNICATION}
#TRIGGER {~[CLAN]} {#CAP COMMUNICATION}
And so on and so forth.
But when I upgraded to 6.4 some of the triggers weren't firing/not capturing some channels to my Communication window.
Those were: TOWN, CLAN.
I don't know why the triggers stopped working. I made them all the same way. Everything I've tried has failed.
If I could get a little help, I'd appreciate it.
Thanks. |
|
|
|
LightBulb MASTER
Joined: 28 Nov 2000 Posts: 4817 Location: USA
|
Posted: Thu Apr 10, 2003 7:46 pm |
I haven't any idea why some triggers would work while similar ones won't. However, there's a common pattern to the two you say don't work that's different from the ones that do: namely, they both end with N]. It's possible that that particular combination has some specific meaning to some of the new features where the other letters (M, L, E) don't.
What can you do? I'd recommend using the quote character, ~, with ALL delimiters instead of just opening ones.
#TR {~[CLAN~]} {#CAP COMMUNICATION}
LightBulb
Advanced Member |
|
|
|
Paxstris Newbie
Joined: 10 Apr 2003 Posts: 6
|
Posted: Thu Apr 10, 2003 8:45 pm |
I've tried using {~[FORM~]} but that has not work either.
The possible combinations that I can think of have been:
~[FORM~]
~[{CLAN|FORM|TOWN|BL|BLOODLINE}]
~[{CLAN|FORM|TOWN|BL|BLOODLINE}~]
and still it is only [CLAN], [BL], and [BLOODLINE] that fire.
I was thinking of doing and ANSI trigger, perhaps that would work? |
|
|
|
Paxstris Newbie
Joined: 10 Apr 2003 Posts: 6
|
Posted: Thu Apr 10, 2003 8:53 pm |
One more thing I found out that might help:
When I turn colour emulation off under the General/Emulation/Ansi Colour setting, the trigger fires fine.
Right now I'm using the:
~[{CLAN|FORM|TOWN|BL|BLOODLINE}~]
trigger, but how do i get the pattern to fire for when I do have colour emulated? |
|
|
|
LightBulb MASTER
Joined: 28 Nov 2000 Posts: 4817 Location: USA
|
Posted: Thu Apr 10, 2003 9:50 pm |
My test character on Medievia has no problems with the ~[CLAN~] trigger. I also tried
#TR {^~[%w~]} {#CAP COMMUNICATION}
and that also worked. I'm using version 6.4 with General/Emulation/Ansi Color enabled.
After further testing, I've determined that ^~[%w] also works. Even your original pattern, ~[CLAN] works.
It appears the problem is something specific to your settings/computer. All I can recommend is checking your other preferences and triggers.
LightBulb
Advanced Member |
|
|
|
Paxstris Newbie
Joined: 10 Apr 2003 Posts: 6
|
Posted: Thu Apr 10, 2003 10:20 pm |
You're right, there's some sort of conflict with some other script.
When I deleted all my other scripts, and just used the one trigger, it works fine.
Thanks for your help.
You rock! |
|
|
|
|
|