LButton wont work while Shift is Pressed

Ask gaming related questions
NemesisX
Posts: 2
Joined: 17 Jan 2018, 15:40

LButton wont work while Shift is Pressed

29 Jan 2018, 15:06

So guys i made a loop it works if is use it as this way while not pressing Shift which i want to press

Code: Select all

~$LButton::
while (VIP = 1)
{	
	if (Boss = 1)
	{
		Sleep, 200,
		Send, 3
		Boss = 0
	}
	else
	{
		Sleep, 200
		Send, 2
		Boss = 1
	}
	break
}
return
but when i use * it doesn't work how to solve this to make it work while pressing shift

Code: Select all

*LButton::
while (VIP = 1)
{	
	if (Boss = 1)
	{
		Sleep, 200,
		Send, 3
		Boss = 0
	}
	else
	{
		Sleep, 200
		Send, 2
		Boss = 1
	}
	break
}
return
User avatar
eventhorizon
Posts: 158
Joined: 27 Oct 2016, 14:22

Re: LButton wont work while Shift is Pressed

29 Jan 2018, 16:05

How would you activate this routine if you were doing it by hand without a hotkey? Shift+LButton? Shift only? Shift inside the routine? You didn't say where you want to use the shift key. Do you want it held down or just a single press and release? So many details, so little time.
A computer lets you make more mistakes faster than any invention in human history – with the possible exceptions of handguns and tequila.
ShadyShoots
Posts: 24
Joined: 23 Jan 2018, 18:04

Re: LButton wont work while Shift is Pressed

29 Jan 2018, 21:10

NemesisX wrote:So guys i made a loop it works if is use it as this way while not pressing Shift which i want to press but when i use * it doesn't work how to solve this to make it work while pressing shift
If I understand what your looking to do properly, this should work

Code: Select all

~*LButton::
while (VIP = 1)
{	
	if (Boss = 1)
	{
		Sleep, 200,
		Send, 3
		Boss = 0
	}
	else
	{
		Sleep, 200
		Send, 2
		Boss = 1
	}
	break
}
return
~ Should make it so left click isn't blocked by the script, and * should make it so it will still activate when holding down other keys

Return to “Gaming”

Who is online

Users browsing this forum: No registered users and 26 guests