|
zema Wanderer
Joined: 22 Jun 2005 Posts: 79
|
Posted: Fri Mar 20, 2009 11:13 pm
veryy easy question |
This is an easy question i know I took some time off from mudding and now i cant remember how to do this. Basically i have an ability called wavefist what i want to do is make an alias so i can shorten what i have to type to attack something this is what i have to type out to hit something in full "use punchart spinfist at targetname". Now i know how to make an alias and have it made what i want to do is make an alias for my attack then add the targetname..like this.
sf = use punchart spinfist at
so all i have to type is "sf guard" or sf rabite"
I can get the alias to work, but i cant seem to add the target name to the alias. |
|
_________________ There are 3 things i hate kids, animals, and women with attitudes.. |
|
|
|
calesta Apprentice
Joined: 07 Dec 2008 Posts: 102 Location: New Hampshire, USA
|
Posted: Fri Mar 20, 2009 11:28 pm |
Use %1 to refer to the parameter you pass to the alias.
Code: |
#alias sf {use punchart spinfist at %1} |
|
|
|
|
Progonoi Magician
Joined: 28 Jan 2007 Posts: 430
|
Posted: Fri Mar 20, 2009 11:28 pm |
Code: |
<alias name="sf" id="1">
<value>use punchart spinfist at $target</value>
<arglist>$target</arglist>
</alias>
|
|
|
_________________ The Proud new owner of CMud.
--------------------------------
Intel Core i5-650 3,2GHz
4 DD3 RAM
GTX 460 768MB
Win 7 Home Premium 64x
-------------------------------- |
|
|
|
zema Wanderer
Joined: 22 Jun 2005 Posts: 79
|
Posted: Fri Mar 20, 2009 11:31 pm |
Thanks and where did you find the %1 ...i can't remember what that's called. I was looking though the helpfiles and nothing is ringing a bell..
|
|
_________________ There are 3 things i hate kids, animals, and women with attitudes.. |
|
|
|
calesta Apprentice
Joined: 07 Dec 2008 Posts: 102 Location: New Hampshire, USA
|
Posted: Fri Mar 20, 2009 11:37 pm |
The aliases help page has it just a little ways down the page.
|
|
|
|
zema Wanderer
Joined: 22 Jun 2005 Posts: 79
|
Posted: Sat Mar 21, 2009 12:05 am |
Thanks alot!
|
|
_________________ There are 3 things i hate kids, animals, and women with attitudes.. |
|
|
|
|
|