|
soearhawk1969 Newbie
Joined: 16 Mar 2005 Posts: 5
|
Posted: Wed Mar 16, 2005 3:55 pm
Double trouble.... |
Heres the thing I got a problem with....
I use a weave(spell) that I want to repeat the next time however the spell/weave does cast twice each round but I only need it to be repeated once...
My idea currently is this...
#TRIGGER {Your arm makes a rising motion and a piece of earth} {spi}
spi being the alias for cast 'spitting earth'
however since every round it does that twice I get spammed a lot and only need it done once...can someone help me out?
Thank you |
|
|
|
Spartacus Wanderer
Joined: 23 Apr 2001 Posts: 53 Location: USA
|
Posted: Wed Mar 16, 2005 4:07 pm |
Try this:
Code: |
#TR {Your arm makes a rising motion and a piece of earth} {
#if @SPIRepeat=1 {
#var SPIRepeat {0}
spi
} {
#var SPIRepeat {1}
}
}
|
This should repeat it once when you do it manually or from another trigger but not repeat it when it is fired by this trigger. |
|
_________________ Spartacus
rm -rf .*
Last edited by Spartacus on Wed Mar 16, 2005 5:04 pm; edited 1 time in total |
|
|
|
soearhawk1969 Newbie
Joined: 16 Mar 2005 Posts: 5
|
Posted: Wed Mar 16, 2005 4:42 pm |
It comes back ith {#IF
and still each round...
a bracket missing? |
|
|
|
Spartacus Wanderer
Joined: 23 Apr 2001 Posts: 53 Location: USA
|
Posted: Wed Mar 16, 2005 4:46 pm |
Whoops! Somebody (that'd be me) forgot to close the }... try this:
Code: |
#TR {Your arm makes a rising motion and a piece of earth} {
#if @SPIRepeat=1 {
#var SPIRepeat {0}
spi
} {
#var SPIRepeat {1}
}
}
|
|
|
_________________ Spartacus
rm -rf .*
Last edited by Spartacus on Wed Mar 16, 2005 5:04 pm; edited 1 time in total |
|
|
|
soearhawk1969 Newbie
Joined: 16 Mar 2005 Posts: 5
|
Posted: Wed Mar 16, 2005 4:50 pm |
Still does only get an {#If
I tried remaking it a little and got....
#if @SPIRepeat=1 {#var SPIRepeat=0 spi} {#var SPIRepeat=1}
but that returns that SPIrepeat is not defined... |
|
|
|
Spartacus Wanderer
Joined: 23 Apr 2001 Posts: 53 Location: USA
|
Posted: Wed Mar 16, 2005 4:57 pm |
Alright - it appears that my brain is not quite in full operations yet. This should help:
Code: |
#TR {Your arm makes a rising motion and a piece of earth} {
#if @SPIRepeat=1 {
#var SPIRepeat {0}
spi
} {
#var SPIRepeat {1}
}
}
|
If you try to stack this on a single command line, it should look like this:
#TR {Your arm makes a rising motion and a piece of earth} {#if @SPIRepeat=1 {#var SPIRepeat {0};spi} {#var SPIRepeat {1}}} |
|
_________________ Spartacus
rm -rf .* |
|
|
|
soearhawk1969 Newbie
Joined: 16 Mar 2005 Posts: 5
|
Posted: Wed Mar 16, 2005 5:22 pm |
That did it...thanx :)
|
|
|
|
|
|