Posted by [_SnArF_] on June 12, 2000 at 15:27:42:
In Reply to: Snarf and all you zMud Guru's posted by little confused on June 12, 2000 at 12:42:11:
> Can someone help me figure out how to set Alias to help me pk. What is a decent script to use. I see people place logs where they are able to set thier alias to hunt So&So...where /1 is say murder /2 is sleep... and so forth. Any help would be greatly appreciated!
There are several ways you can do this. I've yet to see a script for one (I myself don't have one, I'm just too lazy now to become lazy later... I think), so I'm going to give you some basics and you can go from there by reading the helpfile in zMUD if you have any questions for others. Some of the syntax might be advanced, so don't be afraid to look it up in the helpfile, ask me/someone here, or email me at snarf@qhcf.net with any questions.
Ok, I'm going to assume you know how to make an alias and use variables so we'll skip all the cheesy intros to them.
I figure we'll put your target into a variable called "Target" for easy access. So, we can do this on the fly by doing a
#alias t {#var target %1}
With that done, all we really need to do now is set up a few more alias' to do what you want to do.
#alias slt {c sleep @target} -- SL for Sleep, T for Target
#alias pot {c poison @target} -- PO for Poison, T for Target
#alias plt {c plague @target} -- PL for Plague, T for Target (I sense pattern!)
#alias sut {c summon @target} -- SU for Summon, T for Target (Yep, there it is)
etc. etc. etc....
You could go on and on. The basic gist for this I've noticed is to use variables you know and make sense, and are short and sweet to type. As some people have, you can have a menu type thing pop up when you set your new target, all you would have to do would make a new alias whose sole purpose would be to #ECHO information to your screen and is called by the "t" alias... ie:
#alias show_tstuff {#echo slt = Sleep;#echo pot = Poison;#echo plg = Plague;#echo sut = Summon}
You could also do this with keys. That's a whole 'nother world of laziness. Just find out what zmud uses for the key, #key (key you just found out) {(alias here)} and there you go.
If you want me to do all the work for you and create a script, since I'm so friggin bored as of late, all you have to do is send me all the spells you want to use on your target, and I will see what I can do.
--SnArF, the zMUD GOD