|
kurosh Beginner
Joined: 01 May 2002 Posts: 18
|
Posted: Mon Oct 14, 2002 4:47 am
Bug? |
I'm using 6.16 this may be fixed in the newer version not sure. Anyway this is what it is.
I have an alias that looks something like this..
----
attackalias
#if {@a>0} {#loop 1,@a {kill a %{i}}}
#if {@b>0} {#loop 1,@b {kill b %{i}}}
#if {@c>0} {#loop 1,@c {kill c %{i}}}
#if {@d>0} {#loop 1,@d {kill d %{i}}}
look
----
the way I use it is in an expression trigger that's something like this
----
expression: @checkmob=1
%if(@mob=0, aliasa)
%if(@mob=1, attackalias)
#var checkmob 0
----
works fine... then I add one line to the alias at the end
this: #var combat 1
and it runs the alias twice for some reason
I haven't used the combat variable in anything yet, just in that alias... |
|
|
|
LightBulb MASTER
Joined: 28 Nov 2000 Posts: 4817 Location: USA
|
Posted: Mon Oct 14, 2002 2:43 pm |
Change the control variable first:
expression: @checkmob=1
#var checkmob 0
%if(@mob=0, aliasa)
%if(@mob=1, attackalias)
#var checkmob 0
LightBulb
Senior Member |
|
|
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|