 |
NatNit Newbie
Joined: 14 Apr 2004 Posts: 2
|
Posted: Wed Apr 14, 2004 3:00 am
Help creating alias with objects |
Hello. I am quite experienced with making and using basic aliases, but I have come to the point where I want to start making more advanced ones, especially ones that take objects (you'll see what I mean in a moment), but have no clue how to do so. Basically, I want to create the following:
An alias that is set off by entering "dist (exit) (monster)"
cre knife
wield knife
throw knife (exit) at (monster)
end cre
wield axe
What would be the syntax for doing such a thing?
Thank you greatly in advance,
NatNit |
|
|
|
 |
nexela Wizard

Joined: 15 Jan 2002 Posts: 1644 Location: USA
|
Posted: Wed Apr 14, 2004 3:10 am |
#ALIAS dist {cre knife;wield knife;throw knife %1 at %2;end cre;wield axe}
EDIT: Fixed typos! |
|
|
|
 |
NatNit Newbie
Joined: 14 Apr 2004 Posts: 2
|
Posted: Wed Apr 14, 2004 3:20 am |
Wow. I appreciate and thank you for the speedy (and more importantly working!) alias. :)
NatNit |
|
|
|
 |
|
|
|