Im using this macro for autobuy on ragnarok online,
It's
I would like to do a sequence after the loop has been fulfilled which is 800 times, it is just another click and typing thing, nothing complex.; This script was created using Pulover's Macro Creator
; www.macrocreator.com
#NoEnv
SetWorkingDir %A_ScriptDir%
CoordMode, Mouse, Window
SendMode Input
#SingleInstance Force
SetTitleMatchMode 2
#WinActivateForce
SetControlDelay 1
SetWinDelay 0
SetKeyDelay -1
SetMouseDelay -1
SetBatchLines -1
Numpad1::
Loop, 800
{
WinActivate, Ragnarok ahk_class Ragnarok
Sleep, 333
Sleep, 672
Click, 894, 625 Left, Down
Sleep, 78
Click, 894, 625 Left, Up
Sleep, 640
Click, 895, 625, 0
Sleep, 219
Send, {Enter}
Sleep, 375
Send, {Enter}
Sleep, 391
Send, {Enter}
Sleep, 375
Send, {Enter}
Sleep, 406
Send, {Enter}
Sleep, 406
Send, {Enter}
Sleep, 625
Send, {Enter}
Sleep, 156
Click, 117, 189 Left, Down
Sleep, 110
Click, 425, 213 Left, Up
Sleep, 16
Send, {Enter}
Sleep, 16
}
Numpad2::exitapp
how do I do it so that it runs automatically after the loop has been done for 800 times?
I tried adding the sequence after the "{" before Numpad2, and it did not work. fyi, the sequence is only run 1 time
Appreciate it if anyone could help.
I did try reading while-loop, if, etc etc, but I just cant comprehend it, please just give an example, I'm not hoping to be spoon-fed, but just want a help sending me to the right direction.
Thank you =)