Page 1 of 1

No error in macros but it does not work?

Posted: 16 Aug 2017, 05:07
by NZXT
My macro doesn't trigger with this line if zeny <= 100000


automacro autoswitch {
class novice
if zeny <= 100000
run-once 1
call {
do conf lockMap payon
}
}


It doesn't trigger the macro, my novice already has more than 100,000. But when I remove if zeny <= 100000 it triggers lockmap change.

What is the problem with this line?

Thank you.

Re: No error in macros but it does not work?

Posted: 16 Aug 2017, 05:29
by hakore
Remove "if" before "zeny".

IFs are only relevant inside macros, they are meaningless in an automacro.