I suppose if everyone is having a problem with your program I'll just post 3 raw scripts, If you know how to copy and paste you'll be trick shooting in no time
Switch Weapon + Throwing Knife (Does not throw) + No Bolt
Code:
;VARIABLES
V_OnOff = 0
;SCRIPT MANAGEMENT
Loop
{
IfWinActive, Modern Warfare 2
{
Suspend, Off
}
IfWinNotActive, Modern Warfare 2
{
Suspend, On
}
}
;On Off Trigger
Numpad0::
V_OnOff = 0
Return
Numpad1::
V_OnOff = 1
Return
;Script
~$*MButton::
{
If V_OnOff = 1
{
Send, {1}
Sleep, 131
Send, {1}
Send, {RButton down}
Sleep, 265
Send, {LButton down}
Sleep, 8
Send, {LButton up}
Sleep, 10
Send, {RButton up}
Send, {R}
Sleep, 375
Send, {G down}
Sleep, 215
Send, {1}
Sleep, 50
Send, {G up}
Send, {1}
Send, {1}
{
Return
}
}
}
Switch Shoot + No Bolt
Code:
;VARIABLES
V_OnOff = 0
;SCRIPT MANAGEMENT
Loop
{
IfWinActive, Modern Warfare 2
{
Suspend, Off
}
IfWinNotActive, Modern Warfare 2
{
Suspend, On
}
}
;On Off Trigger
Numpad0::
V_OnOff = 0
Return
Numpad1::
V_OnOff = 1
Return
;Script
~$*Mbutton::
{
If V_OnOff = 1
{
Send, {1}
Sleep, 131
Send, {1}
Send, {RButton down}
Sleep, 265
Send, {LButton down}
Sleep, 8
Send, {LButton up}
Sleep, 10
Send, {RButton up}
Send, {R}
Sleep, 590
Send, {1}
Send, {1}
{
Return
}
}
}
Throwing Knife (Does not throw) + No Bolt
Code:
;VARIABLES
V_OnOff = 0
;SCRIPT MANAGEMENT
Loop
{
IfWinActive, Modern Warfare 2
{
Suspend, Off
}
IfWinNotActive, Modern Warfare 2
{
Suspend, On
}
}
;On Off Trigger
Numpad0::
V_OnOff = 0
Return
Numpad1::
V_OnOff = 1
Return
;Script
~$*MButton::
{
If V_OnOff = 1
{
Send, {RButton down}
Sleep, 265
Send, {LButton down}
Sleep, 8
Send, {LButton up}
Sleep, 10
Send, {RButton up}
Send, {R}
Sleep, 375
Send, {G down}
Sleep, 215
Send, {1}
Sleep, 50
Send, {G up}
Send, {1}
Send, {1}
{
Return
}
}
}
If you have everything set as an .ahk and it's running press "Nubpad1" (Number pad #1, with number lock on) to activate it, "Numpad0" will turn it off.