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


Joined: 24 Jun 2006
Posts: 3
Location: East Coast

PostPosted: Sat Jun 24, 2006 1:51 am   

Need help with triggers
 
Hi, I am new to muds, and am trying to set up some triggers. I play Nilgiri.
First, I have 2 alts, and want to make a trigger for them to automatically aid me, but once they aid me, the trigger needs to stop going off. I made a trigger for when I attack, and ever attack I make during a single fight, the alts trig goes off to aid, which results in spamming that I am already aiding in the fight. How do I set the trig to stop once it goes off, but then be active once the fight is over? Rolling Eyes
Reply with quote
edb6377
Magician


Joined: 29 Nov 2005
Posts: 482

PostPosted: Sat Jun 24, 2006 3:21 am   
 
find a unique string to trigger off of that only happens when you initiate a fight and when you end a fight.

i.e.

You enter into combat with the spider

You take 5 gold coins from the corpse of the spider.
_________________
Confucious say "Bugs in Programs need Hammer"
Reply with quote
Dionysia
Newbie


Joined: 24 Jun 2006
Posts: 3
Location: East Coast

PostPosted: Sat Jun 24, 2006 8:32 pm   
 
This particular mud doesn't have anything unique about begining combat, slashes, misses, etc, but that can happen through out the entire battle. Confused
Reply with quote
Vitae
Enchanter


Joined: 17 Jun 2005
Posts: 673
Location: New York

PostPosted: Sun Jun 25, 2006 3:16 pm   
 
is the aid based on something?
or do you want it automatically as in as soon as you enter the kill command? Saw a similar command on here long ago:
#alias {kill} {~kill %1;:ALT_WINDOW_NAME:AID_COMMAND}
_________________
http://www.Aardwolf.com
Reply with quote
Dionysia
Newbie


Joined: 24 Jun 2006
Posts: 3
Location: East Coast

PostPosted: Mon Jun 26, 2006 5:01 pm   
 
I figured it out! Very Happy
Had to make a class for the aid triggers, there are several different triggers, and then after it says I am aiding, I created a trigger to disable the aid class, and once fight is over trigger to turn aid class back on Rolling Eyes just took a lot of trial and error
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