Global $sHeight = @DesktopHeight Global $sWidth = @DesktopWidth Global $UnPaused HotKeySet("+1","_TogglePause") ; Press Shift+1 to start script HotKeySet("+2", "_Terminate") ; Press Shift+2 to terminate script MsgBox(64, "Welcome!", "Autobidder") While 1 ; Loop 1 Sleep(100) ; Waiting for function call. Pressing the Start hotkey ends this loop ToolTip('Autobuyer paused. Press SHIFT+1 to resume/pause or SHIFT+2 to terminate.',0,0) WEnd Func _TogglePause() ToolTip('Autobuyer has started. Press SHIFT+1 to pause or SHIFT+2 to terminate.',0,0) $UnPaused = NOT $UnPaused While $UnPaused ; Loop 2 MouseClick("left", 419, 809, 1, 25) MouseClick("left", 230, 720, 1, 30) MouseClick("left", 566, 536, 2, 30) Send("{NUMPAD1}") Send("{NUMPAD0}") Send("{NUMPAD0}") Send("{NUMPAD0}") MouseClick("left", 806, 534, 1, 25) MouseClick("left", 673, 641, 1, 8) MouseClick("left", 301, 724, 1, 20) MouseClick("left", 566, 536, 2, 30) Send("{NUMPAD1}") Send("{NUMPAD0}") Send("{NUMPAD0}") Send("{NUMPAD0}") MouseClick("left", 806, 534, 1, 25) MouseClick("left", 673, 641, 1, 8) MouseClick("left", 369, 698, 1, 20) MouseClick("left", 566, 536, 2, 30) Send("{NUMPAD1}") Send("{NUMPAD0}") Send("{NUMPAD0}") Send("{NUMPAD0}") MouseClick("left", 806, 534, 1, 25) MouseClick("left", 673, 641, 1, 8) MouseClick("left", 444, 694, 1, 20) MouseClick("left", 566, 536, 2, 30) Send("{NUMPAD1}") Send("{NUMPAD0}") Send("{NUMPAD0}") Send("{NUMPAD0}") MouseClick("left", 806, 534, 1, 25) MouseClick("left", 673, 641, 1, 8) MouseClick("left", 522, 700, 1, 20) MouseClick("left", 566, 536, 2, 30) Send("{NUMPAD1}") Send("{NUMPAD0}") Send("{NUMPAD0}") Send("{NUMPAD0}") MouseClick("left", 806, 534, 1, 25) MouseClick("left", 673, 641, 1, 8) MouseClick("left", 597, 696, 1, 20) MouseClick("left", 566, 536, 2, 30) Send("{NUMPAD1}") Send("{NUMPAD0}") Send("{NUMPAD0}") Send("{NUMPAD0}") MouseClick("left", 806, 534, 1, 25) MouseClick("left", 673, 641, 1, 20) MouseClick("left", 671, 715, 1, 20) MouseClick("left", 566, 536, 2, 30) Send("{NUMPAD1}") Send("{NUMPAD0}") Send("{NUMPAD0}") Send("{NUMPAD0}") MouseClick("left", 806, 534, 1, 25) MouseClick("left", 673, 641, 1, 20) MouseClick("left", 631, 640, 1, 10) MouseClick("left", 566, 536, 2, 30) Send("{NUMPAD1}") Send("{NUMPAD0}") Send("{NUMPAD0}") Send("{NUMPAD0}") MouseClick("left", 375, 617, 1, 15) MouseClick("left", 631, 363, 1, 15) MouseClick("left", 635, 386, 1, 15) MouseClick("left", 258, 719, 1, 50) MouseClick("left", 391, 503, 1, 20) MouseClick("left", 642, 530, 2, 20) Sleep(20) Send("{NUMPAD1}") Send("{NUMPAD0}") Send("{NUMPAD0}") Send("{NUMPAD0}") MouseClick("left", 819, 536, 2, 20) Sleep(20) Send("{NUMPAD1}") Send("{NUMPAD1}") Send("{NUMPAD0}") Send("{NUMPAD0}") MouseClick("left", 582, 735, 1, 15) MouseClick("left", 996, 616, 1, 50) MouseClick("left", 631, 363, 1, 15) MouseClick("left", 494, 386, 1, 15) WEnd EndFunc Func _Terminate() If MsgBox(4, 'Do you want to exit?', 'Click Yes to exit, or No to continue') = 6 Then Exit EndFunc ;==>_Pause