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


Joined: 02 Aug 2005
Posts: 1
Location: none

PostPosted: Tue Aug 02, 2005 6:31 pm   

healing alias
 
I could use some help creating an alias that would use the proper healing for the approproit sickness.
With my limited understanding of Zmudd scripting I'm imagining something as follows:

A trigger picks up the text, You are afflicted with sickness A. This would somehow magically call upon healing ailias A. The major problem I'm having is when I'm afflicted with a lot of different problems. Now everyone says to do this, just remember each and every problem and cure them as needed. Call me lazy but I would much rather have the client keep up with such matters so that I can focus more of my attention on things that matter more such as killing the source of my pain.

I've heard that there is a way for Zmudd to keep up with a list of things and just maybe go through the list sequentally. This seems like an ideal solution to my problem. So I could hit my macro button or alias name to go through the healings one at a time. The message from the sickness could re-occur if I do not heal it quickly, so the sickness should be limited to one spot on the list. Once healed you get a healing message for sickness A, thus deleting sickness A from the list. I hope this makes sense to someone and that I have provided enough information for a solution.
_________________
hello
Reply with quote
nexela
Wizard


Joined: 15 Jan 2002
Posts: 1644
Location: USA

PostPosted: Tue Aug 02, 2005 8:38 pm   
 
You have provided more then enough to earn a link or two

Aside from the Zmud Help manual you can Search http://forums.zuggsoft.com/phpbb/search_kb.php these forums for examples of MANY different "curing systems"
_________________
Zmud Support Library
Zmud Knowledge Base
Reply with quote
GaidinBDJ
Wanderer


Joined: 15 Nov 2002
Posts: 52
Location: Las Vegas, Nevada

PostPosted: Wed Aug 03, 2005 9:32 pm   
 
It'd probably be easier just to trigger it

#trigger {"You're sick"} {cast 'cure sickness'}

Just set up one for every ailment. If you wanna keep manual control you could do

#trigger {"You're sick"} {#var ailment sickness}
#alias {cureme} {cast 'cure @sickness'}
_________________
Barry
Gaidin @ 3k.org
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