-
Notifications
You must be signed in to change notification settings - Fork 0
/
PotDragger.au3
108 lines (79 loc) · 1.92 KB
/
PotDragger.au3
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
#include <Misc.au3>
;Potdragger Vorila Dransik
;Kyle GusToughSon Bishop
;Discord : GusToughSon#7073
;GusToughSon@Icloud.com
;~ HotKeySet ("{numpad1}", "DownLeft")
;~ HotKeySet ("{numpad2}", "Down")
;~ HotKeySet ("{numpad3}", "DownRight")
;~ HotKeySet ("{numpad4}", "Left")
;~ HotKeySet ("{numpad6}", "Right")
;~ HotKeySet ("{numpad7}", "UpLeft")
;~ HotKeySet ("{numpad8}", "Up")
;~ HotKeySet ("{numpad9}", "UpRight")
Global $clicklapwait = 25, $drag = 0, $DragWait = 5
;60 Numeric keypad 0 key
; 61 Numeric keypad 1 key
; 62 Numeric keypad 2 key
; 63 Numeric keypad 3 key
; 64 Numeric keypad 4 key
; 65 Numeric keypad 5 key
; 66 Numeric keypad 6 key
;67 Numeric keypad 7 key
; 68 Numeric keypad 8 key
; 69 Numeric keypad 9 key
Func PotMover()
If _IsPressed("60") Then
Extra() ;Clickhack at mouse idea;
ElseIf _IsPressed("61") Then
DwnLeft()
ElseIf _IsPressed("62") Then
Down()
ElseIf _IsPressed("63") Then
DownRight()
ElseIf _IsPressed("64") Then
Left()
ElseIf _IsPressed("66") Then
Right()
ElseIf _IsPressed("67") Then
UpLeft()
ElseIf _IsPressed("68") Then
Up()
ElseIf _IsPressed("69") Then
UpRight()
EndIf
EndFunc
Func DwnLeft()
MouseClickDrag ("Left", 231, 199, 199, 231, $drag)
sleep ($DragWait)
EndFunc
Func Down()
MouseClickDrag ("Left", 215, 199, 215, 231, $drag)
sleep ($DragWait)
ControlSend
sleep ($DragWait)
EndFunc
Func UpLeft()
MouseClickDrag ("Left", 231, 231, 199, 199, $drag)
sleep ($DragWait)
EndFunc
Func Left()
MouseClickDrag ("Left", 231, 215, 199, 215, $drag)
sleep ($DragWait)
EndFunc
Func Right()
MouseClickDrag ("Left", 199, 215, 231, 215, $drag)
sleep ($DragWait)
EndFunc
Func DownRight()
MouseClickDrag ("Left", 199, 199, 231, 231, $drag)
sleep ($DragWait)
EndFunc
Func Up()
MouseClickDrag ("Left", 215, 231, 215, 199, $drag)
sleep ($DragWait)
EndFunc
Func UpRight()
MouseClickDrag ("Left", 199, 231,231, 199,$drag)
sleep ($DragWait)
EndFunc