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
Evangelist
Adept


Joined: 10 Oct 2000
Posts: 224
Location: USA

PostPosted: Wed Aug 28, 2002 4:53 am   

Identical patterns, not so identical results
 
The clan output on the mud I play is the same. So I have a trigger. There are 13 active clans, but only 10 of them will capture. I have stared at the ones that will, and the ones that won't and I see no differences. I was wondering if my trigger might have flaws in it, or if my zmud is posessed.

Clan Name: Oracle Leader: Demia Coleader: Gwinterra War: Defft/Alyson

Clan Name: Mord'Sith Leader: Trak Coleader: War: Rothgar/Xxanth

Clan Oracle will NOT work, and clan Mord'Sith WILL. Here is the trigger I am using:

Clan Name: &cname Leader: &cleader Coleader: &cco War: &cwar

I do not know what could cause it. There are other clans which have leader/co/warlords that capture fine. Granted, I found a work around for them. To get around Oracle I did this:

Clan Name: Oracle Leader: &cleader Coleader: &cco War: &cwar

I could do that for every single individual clan, but it would be easier with a trigger that would grab them all...any suggestions?

Evangelist
www.phidar.com
Reply with quote
MattLofton
GURU


Joined: 23 Dec 2000
Posts: 4834
Location: USA

PostPosted: Wed Aug 28, 2002 11:07 pm   
 
quote:

The clan output on the mud I play is the same. So I have a trigger. There are 13 active clans, but only 10 of them will capture. I have stared at the ones that will, and the ones that won't and I see no differences. I was wondering if my trigger might have flaws in it, or if my zmud is posessed.

Clan Name: Oracle Leader: Demia Coleader: Gwinterra War: Defft/Alyson

Clan Name: Mord'Sith Leader: Trak Coleader: War: Rothgar/Xxanth

Clan Oracle will NOT work, and clan Mord'Sith WILL. Here is the trigger I am using:

Clan Name: &cname Leader: &cleader Coleader: &cco War: &cwar

I do not know what could cause it. There are other clans which have leader/co/warlords that capture fine. Granted, I found a work around for them. To get around Oracle I did this:

Clan Name: Oracle Leader: &cleader Coleader: &cco War: &cwar

I could do that for every single individual clan, but it would be easier with a trigger that would grab them all...any suggestions?

Evangelist
www.phidar.com



Dunno if it's a bug or operator error, but there seems to be an issue with using the reference character in a trigger (&). I'm sure that using a standard wildcard or other special symbol will fix the problem nicely.

#trigger {^Clan Name: (%x) Leader: (%x) Coleader: (%x) War: (*)} {}

As far as clan names go, you could replace that (%x) with ({Oracle|Mord'Sith|etc}) to further narrow the trigger, though a list like that would have to be updated manually.

li'l shmoe of Dragon's Gate MUD
Reply with quote
Apollyon
Wanderer


Joined: 02 Oct 2001
Posts: 76
Location: USA

PostPosted: Wed Aug 28, 2002 11:35 pm   
 
what are you trying to do with the trigger you never specified at all, it would be easier to fix if someone knew what you were trying to do with it.

#trigger {^Clan Name: (*) Leader: (*) Coleader: (*) War: (*)} {do something to %1, do something to %2, do something to %3, do something to %4}

%1 will be the clan name, 2 will be the leader, etc...

--------------------------------------------------

"They tell Soze they want his territory - all his business. Soze looks over the faces of his family... Then he showed these men of will what will really was."
Reply with quote
Evangelist
Adept


Joined: 10 Oct 2000
Posts: 224
Location: USA

PostPosted: Thu Aug 29, 2002 12:50 am   
 
Capture the name, leader, coleader, warlords, then store it in another window inside the appropriate xml tags...ive done something similar but the capture is the problem I was having. I tried using like * before, but if I did #WINDOW CAPTURE %1 it wouldnt show up...would only show up if I used like &chname and @chname for the window capture part.

once again, not currently at home but I will give it a whirl when I arrive there

Evangelist/Pernius
www.phidar.com/phidar.html
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