Page 1 of 1

Simple Variable Targetting with zMUD

Posted: Thu Apr 09, 2009 11:05 pm
by Lithium
Someone was asking about how to set this up earlier, so I decided to make a post about it. This method works for sure on zMUD 3.62 32-bit, if anyone can verify it for later versions/CMUD that would be great. Also, if anyone can post methods for other clients, that could be cool too. Here's the method:

Create a new alias within your client, name it whatever you want, and for the command put "#VARIABLE tar" (without the quotes). Now create a new alias, say for example "kt", and for the command input "kill @tar". To set the target, all you need to do is type "t xxx" with xxx being your target. Now whenever you type kt, you will attempt to attack your target! t, tar, etc can be replaced with whatever you want, as long as you remain consistent. And that's it!

If you have any questions, feel free to post them here

Posted: Fri Apr 10, 2009 5:38 pm
by Aj
For AL Client

#alias {t}{#set target %1;#echo %1 is now set as your target!};
#alias {2}{kill $target$};
#alias {3}{charge $target$};
#alias {b}{backstab $target$};

to change target simply type t xxx, xxx being the name of the new target.

Re: Simple Variable Targetting with zMUD

Posted: Fri Jul 10, 2009 12:34 pm
by Primal
Lithium wrote:Someone was asking about how to set this up earlier, so I decided to make a post about it. This method works for sure on zMUD 3.62 32-bit, if anyone can verify it for later versions/CMUD that would be great. Also, if anyone can post methods for other clients, that could be cool too. Here's the method:

Create a new alias within your client, name it whatever you want, and for the command put "#VARIABLE tar" (without the quotes). Now create a new alias, say for example "kt", and for the command input "kill @tar". To set the target, all you need to do is type "t xxx" with xxx being your target. Now whenever you type kt, you will attempt to attack your target! t, tar, etc can be replaced with whatever you want, as long as you remain consistent. And that's it!

If you have any questions, feel free to post them here
Yeah, that should work. You can also cut and paste this line in to your command line in Cmud :


#CLASS {targets}
#VAR target1 {} {}
#ALIAS t {#VAR target1 %1;#SHOW Target1 set to @target1}
#ALIAS kt {kill @target1}
#CLASS 0

Edit: I can't remember, but I think you might need the {} with cmud, in any event if if you don't need them they are usefull because you can make:

#CLASS {targets}
#VAR target1 {dark} {}
#ALIAS t {#VAR target1 %1;#SHOW Target1 set to @target1}
#ALIAS kt {kill @target1}
#CLASS 0

NB: This should mean if you log onto game and havn't yet set you target1 variable yet, then it will automatically be dark.