πŸ‘ AHK Scripts | Super Simple Recoil Reduction |

Posts 16–22 of 22 Β· Page 2 of 2
Quote Originally Posted by braydonkils View Post
Is there any way to make this while holding shift?
If you read the original post, I asked the same question. I'd like to know a way to do that too.
Holy shit I had to recover my account just to post this and help these newbies out:

PS scripting languages is just like reading English, a little kid could figure out what each line does if YOU JUST READ!

This will set your "key" to shift, rather than mouse button 1 (or left click).

Code:
Z:: Hotkey, $LShift, Toggle
LShift::
Loop
{
SetMouseDelay 80
Click
If (GetKeyState("LShift","P")=0)
Break
}
Thank you for the share man.
Hello guys, i take a look at this, and... OMFG!! AWESOME!!
Then i was looking to how i could make it work with Shift and Ctrl, and i did it ^^, poorly made, but yes, i did!!

The Original Code was:
Z:: Hotkey, $LButton, Toggle
$LButton::
Loop
{
SetMouseDelay 80
Click
If (GetKeyState("LButton","P")=0)
Break
}
What i did was:
$+LButton::
Loop
{
if (GetKeyState("LShift","P")=1)
{
SetMouseDelay 80
Click
If (GetKeyState("LButton","P")=0)
Break
}
else
Break
}
$^LButton::
Loop
{
if (GetKeyState("LControl","P")=1)
{
SetMouseDelay 80
Click
If (GetKeyState("LButton","P")=0)
Break
}
else
Break
}
Q: What it will do?
A: It will just Check if Shift(+) or Ctrl(^) is pressed, if it is pressed (=1) it will execute the code bellow.

The whole code, just in case:
Z:: Hotkey, $LButton, Toggle
$LButton::
Loop
{
SetMouseDelay 80
Click
If (GetKeyState("LButton","P")=0)
Break
}

$+LButton::
Loop
{
if (GetKeyState("LShift","P")=1)
{
SetMouseDelay 80
Click
If (GetKeyState("LButton","P")=0)
Break
}
else
Break
}
$^LButton::
Loop
{
if (GetKeyState("LControl","P")=1)
{
SetMouseDelay 80
Click
If (GetKeyState("LButton","P")=0)
Break
}
else
Break
}
easy and nice script!
Is there anything I can due to make it work while in crouch?

EDIT: NVM, should have read first...
VAC bans why I get when I use ?

- - - Updated - - -

VAC bans why I get when I use ?
Posts 16–22 of 22 Β· Page 2 of 2

Post a Reply

Similar Threads

Tags for this Thread

None

Talk with us