抖槍
2023-07-04 19:33 作者:hwp1314hhh | 我要投稿
R = 20 E = 8 P = 6 switch=1 EnablePrimaryMouseButtonEvents(true); function OnEvent(event, arg) OutputLogMessage("Event: "..event.." Arg: "..arg.."\n") if (event == "MOUSE_BUTTON_PRESSED" and arg == 9) then if (switch==0) then switch=1 else switch=0 end end if (arg == 1 and switch == 1) then if (IsMouseButtonPressed(3)) then MoveMouseRelative(0,P) repeat Sleep(10) MoveMouseRelative(R,R) Sleep(10) MoveMouseRelative(-R,-R) Sleep(10) MoveMouseRelative(0,E) until not IsMouseButtonPressed(1) end end end
標簽: