This is a really simple ahk script. wont work in background so you just have to run it when you go to sleep or something (run script. activate script with (r). (z) is to pause script and (x) is to shut script off). the x's are for the location of your mouse cursor relative to the buy and confirm buttons. you just need something to capture the location of the x and y coordinates of your mouse at the time you hit "buy" and "confirm". such as windows spy
r::
Loop
{
MouseClick, left, x, x
Sleep, 500
MouseClick, left, x, x
Sleep, 500
}
return
ExitApp
x::ExitApp
z::Pause