Help. Macro isnt recognizin commands

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

Moderator: Moderators

williamdg222
Noob
Noob
Posts: 1
Joined: 25 Jul 2025, 11:11
Noob?: Yes

Help. Macro isnt recognizin commands

#1 Post by williamdg222 »

I'm trying to create a macro so that the bot stops walking for a few seconds when it's recalled to receive party buffs (banquet, etc), but I'm getting an error in the console no matter how I try. Below are the different ways I tried to do it:

# Way1:
automacro recall {
is_teleporting 1
call wait
}

# Way2:
automacro recall {
party_member_near $partyleader
runOnce 1
call wait
}

# Way3:
automacro recall {
distance $partyleader < 2
runOnce 1
call wait
}

# Way4:
automacro recall {
player $partyleader
call wait
}
Function to be executed (pause for a few seconds and walk a few cells)

macro wait {
pause 1
do south 2
do east 1
pause 1
do east 1
pause 8
release recall
}
But in all cases, it keeps spamming an error in the console:
[macro] automacro recall triggered

I tried adding some logs throughout the script to see how far it goes, and I noticed that every time it is triggered (constantly, spamming), it reaches the log on the first line of the macro wait, and then doesn’t go past it (even though there's nothing that should prevent it, and in fact it shouldn't even be triggered since the automacro condition wasn’t true).

Can anyone help me?
Thanks!
User avatar
SkylorD
Moderators
Moderators
Posts: 1202
Joined: 16 Dec 2011, 02:53
Noob?: No
Location: Brazil

Re: Help. Macro isnt recognizin commands

#2 Post by SkylorD »

tried $::partyleader ?
Learn rules