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
Odoth
Wanderer


Joined: 13 Nov 2004
Posts: 54
Location: Visalia, CA

PostPosted: Sat Nov 27, 2004 10:30 am   

Some tips on my triggers please?
 
Code:

#CLASS {moneyrun}
#ALIAS dgc {drop joint;drop cross;drop pick;drop tape;drop skate;drop banjo;drop drums}
#TRIGGER {Greg Camp is DEAD!!} {k kevin}
#TRIGGER {Kevin Coleman is DEAD!!} {k paul}
#TRIGGER {Paul DeLisle is DEAD!!} {k steve}
#TRIGGER {Steve Harwell is DEAD!!} {ta corpse;sac corpse;ta corpse;sac corpse;ta corpse;sac corpse;ta corpse;sac corpse;s;k john}
#TRIGGER {John Tempesta is DEAD!!} {k sean}
#TRIGGER {J is DEAD!!} {k rob}
#TRIGGER {Rob Zombie is DEAD!!} {ta corpse;sac corpse;ta corpse;sac corpse;ta corpse;sac corpse;ta corpse;sac corpse;ta corpse;sac corpse;ta corpse;sac corpse;s;k chris}
#TRIGGER {Chris Novoselic is DEAD!!} {k dave}
#TRIGGER {Dave Grohl is DEAD!!} {k kurt}
#TRIGGER {Kurt Cobin is DEAD!!} {ta corpse;sac corpse;ta corpse;sac corpse;ta corpse;sac corpse;ta corpse;sac corpse;ta corpse;sac corpse;ta corpse;sac corpse;dgc}
#TRIGGER {you!$} {oa}
#CLASS 0


These triggers are designed to continue killing the money mobs until they are all cleared out. It is started by a separately defined alias that starts the first fight and opens the class folder. As is probably apparent, as soon as the mob i'm fighting dies, the triggers send me to the next mob in line. Before I leave any room I take all from all the corpses and sac them all. At the end of the last room i use the alias dgc to drop all of the items that these mobs drop.
The {you!$} trigger is to make sure that if I start getting hit i order my sidekicks to rescue me, {oa} being an alias defined on the mud.
What i'm looking for here are just some tips to maybe clean this up a little and also a few things i am looking for:
    If a mob is gone for some reason (somebody else in the area maybe) I would like to be able to automatically switch to the next mob.

    The way the ta corpse and sac corpse commands are set up are overkill. I set them up like that in case one or more sidekicks have died during the fights and their corpses are in the way.

    Any other tips or insight anybody has.



I realize that this may need massive restructuring to accomplish all of these goals, and any suggestions anybody can give would be great.

BTW this is from Aarchon MUD in case anybody is wondering.
_________________
*ribbit*
Reply with quote
hykou
Wanderer


Joined: 29 Apr 2004
Posts: 63
Location: USA

PostPosted: Mon Nov 29, 2004 8:13 pm   
 
you can do a trigger for ever one in that room...
Code:
#tr {Greg Camp is here} {k greg}
#tr {* is DEAD!} {look}
#tr {so and so is here} {k so and so}
#tr {you!$} {oa}

dunno if it says is here after the name or whatever, but you can just change it. make a trigger for everyone that possibly stands there and you want to kill. if you need more help, or would like to clarify, please email me at vayne12@hotmail.com as i do not check these boards often. if i knew the lines for the pattern's i could do this more in depth, sorry that i do not. anyways good luck, have fun :)[/code]
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