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
Paxstris
Newbie


Joined: 10 Apr 2003
Posts: 6

PostPosted: 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.
Reply with quote
LightBulb
MASTER


Joined: 28 Nov 2000
Posts: 4817
Location: USA

PostPosted: 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
Reply with quote
Paxstris
Newbie


Joined: 10 Apr 2003
Posts: 6

PostPosted: 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?
Reply with quote
Paxstris
Newbie


Joined: 10 Apr 2003
Posts: 6

PostPosted: 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?
Reply with quote
LightBulb
MASTER


Joined: 28 Nov 2000
Posts: 4817
Location: USA

PostPosted: 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
Reply with quote
Paxstris
Newbie


Joined: 10 Apr 2003
Posts: 6

PostPosted: 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!
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