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


Joined: 19 Mar 2005
Posts: 4

PostPosted: Sat Mar 19, 2005 6:48 am   

Need help with a capture trigger
 
I have made a trigger to caprure says tells etc to a seperate window. The problem was that if i had two alts in a room i would capture twice a say. So at the window i use to send the capture text i made a trigger like that


#CLASS {Omilia}
#TRIGGER {%w wonders} {#if (%line=%line2) {#gag}}
#TRIGGER {%w ordertalks} {#if (%line=%line2) {#gag}}
#TRIGGER {%w exclaims} {#if (%line=%line2) {#gag}}
#TRIGGER {%w guildtalks} {#if (%line=%line2) {#gag}}
#TRIGGER {%w says} {#if (%line=%line2) {#gag}}
#TRIGGER {%w tells you} {#if (%line=%line2) {#gag}}
#CLASS 0

It works nice, but the only problem i get and cant seem to solve is that when i use a say to fire a trigger for example my cleric to cast heal on me i capture the command of the cleric and not the say.

for example (person to be healed) says cast heal

the cleric trigger fires and instead of caprure --> (person to be healed) says 'c heal' it captures --> cast 'heal' (person to be healed)

thanks
Reply with quote
Scorpios
Newbie


Joined: 19 Mar 2005
Posts: 4

PostPosted: Sat Mar 19, 2005 7:07 am   
 
Ok i found one solution but i hope there is a better one if i add an alarm delay to the heal trigger so it will not fire imediatly after the say then it works ok
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