Automacro var condition

All about the macro plugin can be found in this forum. This forum is intended for the macro plugin only.

Moderator: Moderators

Hiyula
Noob
Noob
Posts: 4
Joined: 17 Aug 2012, 06:49
Noob?: No

Automacro var condition

#1 Post by Hiyula »

Good day to you ladies and gentlemen,

I require some assistance with the automacro var condition.

I have the following automacro:

Code: Select all

automacro autotele {
    var $EventStart == 1
    timeout 10
    call jump
}
And another macro which sets this variable to 1 using:

Code: Select all

$EventStart = 1
at some point.

But the automacro will not trigger.
I have also tried using

Code: Select all

eval $EventStart > 0
which I found in this thread:
http://forums.openkore.com/viewtopic.php?f=32&t=17377
but to no avail. Also, I am not using @keywords

Any help would be appreciated.
EternalHarvest
Developers
Developers
Posts: 1798
Joined: 05 Dec 2008, 05:42
Noob?: Yes

Re: Automacro var condition

#2 Post by EternalHarvest »

"var" condition probably wants variable name without "$".
Hiyula
Noob
Noob
Posts: 4
Joined: 17 Aug 2012, 06:49
Noob?: No

Re: Automacro var condition

#3 Post by Hiyula »

EternalHarvest wrote:"var" condition probably wants variable name without "$".
I am very sorry about my previous post ( which apparently was not approved anyway) I had a timing issue in my automacro, but the var condition works perfectly. Thank you very much.