 |
Xinphinity Newbie
Joined: 08 Jan 2005 Posts: 1
|
Posted: Sat Jan 08, 2005 11:31 pm
What am I doing wrong? (Help with delays and triggers) |
#VAR DevicesState 1
take @CambrinthItem from my @CambrinthLocation
#WA 2000
#TEMP {mind lock} {#VAR DevicesState 0}
Charge @CambrinthItem @CamMana
#ALARM +10000 {focus @CambrinthItem}
#ALARM +10000 {cast}
Mana
Exp devices
#IF (@CamInHand = 1) {put @CambrinthItem in my @CambrinthLocation}
#WA 2000
This just executes over and over, no delay no nothing. I've tried #WA, #CONDITION etc. Ideally this would delay based on a var.
~X |
|
|
|
 |
LightBulb MASTER
Joined: 28 Nov 2000 Posts: 4817 Location: USA
|
Posted: Sat Jan 08, 2005 11:56 pm |
Don't use #WAIT in triggers.
http://www.zuggsoft.com/zmud/timers.htm
I'm assuming from your post title that this is a trigger. If it is, you left out the pattern along with all the other details we would need to actually understand what you are doing and have any idea of why it doesn't work the way you want.
The only variable I see you changing is @DevicesState, which is never tested in this script.
The only variable I see you test is @CamInHand, which is never changed by this script. |
|
_________________ LightBulb
Senior member
Most scripts in this forum are written for Command Line entry.
Don't even open the Settings Editor unless its use is specified or obvious. |
|
|
 |
|
|
|