|
Ggoss Apprentice
Joined: 01 Nov 2006 Posts: 114
|
Posted: Wed Sep 19, 2007 4:25 pm
(1.34) Alias help |
Ok i want to disarm a target of his weapon
my current set up for using a skill vs a target is something like this
#if (%numparam() = 0) {bash @target} {bash %params}
so i would hit my alias for bash and it would bash target or what ever i type after
how would i change that so that it would follow
disarm @target weapon |
|
|
|
charneus Wizard
Joined: 19 Jun 2005 Posts: 1876 Location: California
|
Posted: Wed Sep 19, 2007 5:04 pm |
If you want it to follow the bash part (i.e. you bash first, then disarm it) then...
#if (%numparam()=0) {bash @target;disarm @target} {bash %params;disarm %params}
If you're talking about something else, give a clearer example. :)
Charneus |
|
|
|
Ggoss Apprentice
Joined: 01 Nov 2006 Posts: 114
|
Posted: Sun Sep 23, 2007 6:43 am |
sorry ok, the syntax i have to use is
disarm human sword
i want an alias that allows me to do that, i want to beable to type
either
da human sword
da sword when i have the variable target filled
and it give me
disarm @target sword |
|
|
|
Thinjon100 Apprentice
Joined: 12 Jul 2004 Posts: 190 Location: Canada
|
Posted: Sun Sep 23, 2007 3:20 pm |
Try:
#if (%numparam()=2) {disarm %1 %2} {disarm @target %params} |
|
_________________ If you're ever around Aardwolf, I'm that invisible guy you can never see. Wizi ftw! :) |
|
|
|
Fang Xianfu GURU
Joined: 26 Jan 2004 Posts: 5155 Location: United Kingdom
|
Posted: Sun Sep 23, 2007 3:23 pm |
Or even
#if (%2) {disarm %1 %2} {disarm @target %params} |
|
|
|
|
|