DDON スペリングマクロ

2個作ってみたけどPCスペックが足りないかそもそも間違ってるのか手動と大差ないよね


if ( family == "mouse" and arg == 10 and event == "MOUSE_BUTTON_PRESSED" ) then

i = 0

s = 5

--MoveMouseRelative(-10, 30);

while IsMouseButtonPressed(3) do

--if i > 360 then

for m = 1, 360, 1 do--コレないと止まらない

i = i + 1

MoveMouseRelative(s*math.cos(math.rad(i)), s*math.sin(math.rad(i)));

end

Sleep(20)--コレないと止まらない

--end

--do

--break

--end

end

end






if ( family == "mouse" and arg == 9 and event == "MOUSE_BUTTON_PRESSED" ) then

n = 0

circlesize = 1000

sleepset = 5

while IsMouseButtonPressed(3) do

--repeat

--0 中央

--MoveMouseTo(32767, 32767)

--Sleep(5)

--1 上

y = circlesize

MoveMouseTo(32767, 32767-y)

Sleep(sleepset)

--2

x = circlesize * 0.125

y = circlesize * 0.875

MoveMouseTo(32767-x, 32767-y)

--Sleep(sleepset)

--3

x = circlesize * 0.25

y = circlesize * 0.75

MoveMouseTo(32767-x, 32767-y)

Sleep(sleepset)

--4

x = circlesize * 0.375

y = circlesize * 0.625

MoveMouseTo(32767-x, 32767-y)

--Sleep(sleepset)

--5 左

x = circlesize * 0.5

MoveMouseTo(32767-x, 32767)

Sleep(sleepset)

--6

x = circlesize * 0.375

y = circlesize * 0.625

MoveMouseTo(32767-x, 32767+y)

--Sleep(sleepset)

--7

x = circlesize * 0.25

y = circlesize * 0.75

MoveMouseTo(32767-x, 32767+y)

Sleep(sleepset)

--8

x = circlesize * 0.125

y = circlesize * 0.875

MoveMouseTo(32767-x, 32767+y)

--Sleep(sleepset)

--9 下

y = circlesize

MoveMouseTo(32767, 32767+y)

Sleep(sleepset)

--10

x = circlesize * 0.125

y = circlesize * 0.875

MoveMouseTo(32767+x, 32767+y)

--Sleep(sleepset)

--11

x = circlesize * 0.25

y = circlesize * 0.75

MoveMouseTo(32767+x, 32767+y)

Sleep(sleepset)

--12

x = circlesize * 0.375

y = circlesize * 0.625

MoveMouseTo(32767+x, 32767+y)

--Sleep(sleepset)

--13 右

x = circlesize * 0.5

MoveMouseTo(32767+x, 32767)

Sleep(sleepset)

--14

x = circlesize * 0.375

y = circlesize * 0.625

MoveMouseTo(32767+x, 32767-y)

--Sleep(sleepset)

--15

x = circlesize * 0.25

y = circlesize * 0.75

MoveMouseTo(32767+x, 32767-y)

Sleep(sleepset)

--16

x = circlesize * 0.125

y = circlesize * 0.875

MoveMouseTo(32767+x, 32767-y)

--Sleep(sleepset)

--17 上

--y = circlesize

--MoveMouseTo(32767, 32767-y)

--Sleep(sleepset)

--0 中央

--MoveMouseTo(32767, 32767)

--Sleep(sleepset)

--n = n + 1

--until n == 2

end

end


[PR]
by effect448 | 2016-07-04 15:12 | DDON

BLOG力たったの5