LOL autoit combo bot script

12/18/2013 23:41 king-kongs#16
Told you open new script -> make it empty and copy all that code i wrote you then save and try. Start game run script and press F1[/QUOTE]

i did but it does nothing even if i press F1 or F3.
only script that works is this , but problem is that is keeps pressing qwe,qwe,qwe,qwe,qwe.
can you try with this on notepad to start and pause function?

While 1

send ("q")


sleep(200)

send ("w")

sleep (200)
send ("e")



WEnd
12/19/2013 00:09 mlukac89#17
I think problem is that you have only that code in script, im i right ?

your script must be like this to send keys, other way wont work because loop is in the function and when you press F1 it call that function to spam keys and do that all time untill F1 is pressed again.

You can add me on xfire or skype i can show you over TeamViewer if you want its will be much simpler and faster ;)

Code:
#RequireAdmin
HotKeySet('{F1}', '_start')
HotKeySet('{F3}', '_quit')

Global $run

While 1
	Sleep(100)
WEnd

; start / pause script
Func _start()

	$run = Not $run

While True
	If $run Then
		Send("{q}")
		Sleep(200)
		Send("{w}")
		Sleep(200)
		Send("{e}")
		Sleep(200)
	EndIf
WEnd

EndFunc

; exits script
Func _quit()
	Exit
EndFunc
12/19/2013 23:31 king-kongs#18
hmm not work anyone else who can help me set a start/stop key in this script :

$winTitle = WinGetHandle("League of Legends (TM) Client")
While 1

send ("q")


sleep(200)

send ("w")

sleep (200)
send ("e")



WEnd
12/19/2013 23:38 lolkop#19
Quote:
Originally Posted by king-kongs View Post
hmm not work anyone else who can help me set a start/stop key in this script :

$winTitle = WinGetHandle("League of Legends (TM) Client")
While 1

send ("q")


sleep(200)

send ("w")

sleep (200)
send ("e")



WEnd
:rtfm:

check the 2nd post for your solution...
if you don't even know, how to use a complete script, you might have to read some beginner tutorials...
12/21/2013 02:59 maikel maikel#20
try this realy simple code...
12/21/2013 05:16 king-kongs#21
1 problem with this, when you are playing on game window and you press f7/f6/f8 , they dont work , you need to minimize it and then press f7 to make it work which is bad, can help me solve this problem?
12/21/2013 11:05 alpines#22
The game maybe sets hotkeys on those keys so you have to try combinations like ^F1, maybe it works. (^{F1} = Control + F1).
12/21/2013 13:53 KDeluxe#23
Quote:
Originally Posted by king-kongs View Post
1 problem with this, when you are playing on game window and you press f7/f6/f8 , they dont work , you need to minimize it and then press f7 to make it work which is bad, can help me solve this problem?
Use _IsPressed() instead of HotKeySet().
12/21/2013 17:31 king-kongs#24
ty i will try both things and let you know if it worked or not.