What can I add to a macro so that when i pressing a key deactivates? (bloody mouse)
For example i see for logitech have this line: local set_off_key = 6
if (event == "MOUSE_BUTTON_PRESSED" and arg == set_off_key) then
current_weapon = "none"
For example to this macro:
LeftDown 1
MoveR -2 21
Delay 120 ms
MoveR -3 22
Delay 120 ms
MoveR -3 23
Delay 120 ms
MoveR -2 25
Delay 120 ms
MoveR -3 30
Delay 120 ms
MoveR -2 29
Delay 120 ms
MoveR -3 37
Delay 120 ms
MoveR -3 36
Delay 120 ms
MoveR -3 37
Delay 120 ms
MoveR -3 38
Delay 120 ms
MoveR -3 36
Delay 120 ms
MoveR -3 37
Delay 120 ms
MoveR -3 37
Delay 120 ms
MoveR 0 34
Delay 120 ms
MoveR 0 33
Delay 120 ms
MoveR -1 34
Delay 120 ms
MoveR -1 34
Delay 120 ms
MoveR -1 34
Delay 120 ms
MoveR 0 35
Delay 120 ms
MoveR 0 34
Delay 120 ms
MoveR 0 36
Delay 120 ms
MoveR 0 37
Delay 120 ms
MoveR -1 35
Delay 120 ms
MoveR 0 35
Delay 120 ms
MoveR 0 35
Delay 120 ms
MoveR 3 37
Delay 120 ms
MoveR 3 35
Delay 120 ms
MoveR 3 35
Delay 120 ms
MoveR 3 35
Delay 120 ms
MoveR 3 35
Delay 120 ms
LeftUp 1