function jump()
keyboardHold(settings.hotkeys.MOVE_FORWARD.key)
repeat keyboardPress(settings.hotkeys.JUMP.key)
until --player has reached next waypoint--
end
keyboardRelease(settings.hotkeys.MOVE_FORWARD.key)
end
as alternative until player has reached coordinates x,y,z
You are talking about doing actions during the moveto function. The only way I can think of is to use a timed event, similar to the timedattack function in player:fight()
Please consider making a small donation to me to support my continued contributions to the bot and this forum. Thank you. Donate
I check all posts before reading PMs. So if you want a fast reply, don't PM me but post a topic instead. PM me for private or personal topics only.