[MudWalker] Assigning variables
Blastron
blastron
Fri Jan 2 09:58:35 PST 2004
Here's my that I use for targeting:
Alias: targ
Script:
@@target = arg[1]
@@message("You have targeted " .. target .. ".")
So if I type targ rat, it would assign "rat" to the target variable,
then let me know with an on-screen message that I have targeted rat.
Then I have a bunch of other aliases like lt = cast lightning at
$$target , frzt = cast freeze at $$target , etc. Really speeds up
combat...
On Jan 1, 2004, at 6:22 PM, Giri Fox wrote:
> is there any way to assign values to variables from the command prompt?
>
> for example to change my target in a fight, the variable tg holds
> "rat" or "goblin"
>
> it'd be good to change it from command prompt
More information about the MudWalker
mailing list