QuestionQuickscope and Trickshot Script

Posts 1–2 of 2 · Page 1 of 1
Quickscope and Trickshot Script
Hi Community

I need a script ( for ahk ) which let me spinn arround while press a key like "x" or something else.
And a quickscope script )
My Quickscope script (written in autoit. To execute download autoit from autoit.de or autoitscript.com):
Code:
#include <Misc.au3>
$vDLL = DllOpen("user32.dll")

If WinExists("Modern Warfare 2") Then
	WinActivate("Modern Warfare 2")
EndIf

HotKeySet("{END}", "_Kill")

While 1
	If _IsPressed(06, $vDLL)  Then ;MouseKey 5
		Send("{LSHIFT up}")
		MouseDown("right")
		Sleep(25)
		Sleep(250)
		Send("{LSHIFT up}")
		MouseDown("left")
		Sleep(25)
		MouseUp("left")
		Sleep(25)
		MouseUp("right")
		MouseClick("right")
	EndIf
	Sleep(50)
WEnd

Func _Kill()
	ToolTip("Exiting...")
	Sleep(250)
	exit 0
EndFunc
It uses the fifth mouse key. If you do not have it, change this line
Code:
	If _IsPressed(06, $vDLL)  Then ;MouseKey 5
Posts 1–2 of 2 · Page 1 of 1
This thread is closed for replies.

Similar Threads

Tags for this Thread

Need help?