No error in macros but it does not work?

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

Moderator: Moderators

Message
Author
NZXT
Noob
Noob
Posts: 17
Joined: 28 Jul 2017, 03:09
Noob?: Yes

No error in macros but it does not work?

#1 Post 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.

hakore
Super Moderators
Super Moderators
Posts: 200
Joined: 16 May 2008, 08:28
Noob?: No
Contact:

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

#2 Post by hakore »

Remove "if" before "zeny".

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

Post Reply