lordicast Posted February 4, 2010 Share Posted February 4, 2010 Ok first off this isnt a BOT or a key logging post!!! I like to use w,a,s,d for moving around in a game problem is the game doesnt have a change key config. It only a lets you move with up,down,left,right. so I try this with mixed results. HotKeySet('{esc}','End') HotKeySet('{w}','up') HotKeySet('{s}','down') HotKeySet('{a}','left') HotKeySet('{d}','right') ;Exit Func End() Exit EndFunc While 1 Sleep(10) WEnd ;-- Directionals func up() send('{up}') EndFunc func down() send('{down}') EndFunc func left() send('{left}') EndFunc func right() send('{right}') EndFunc it only works when I hold it down any thoughts? [Cheeky]Comment[/Cheeky] Link to comment Share on other sites More sharing options...
omikron48 Posted February 4, 2010 Share Posted February 4, 2010 You could try having a longer key down delay so the game has more time to notice the key being pressed. Opt("SendKeyDowDelay", 100) Link to comment Share on other sites More sharing options...
Minikori Posted February 5, 2010 Share Posted February 5, 2010 (edited) Do something along the lines of While 1 If _IsPressed(57) Then While _IsPressed(57) Send("{UP}") WEnd EndIf WEnd Edited February 5, 2010 by Minikori For those who are asking questions, look in the help file first. I'm tired of people asking stupid questions about how to do things when 10 seconds in the help file could solve their problem.[quote name='JRowe' date='24 January 2010 - 05:58 PM' timestamp='1264381100' post='766337'][quote name='beerman' date='24 January 2010 - 03:28 PM' timestamp='1264372082' post='766300']They already have a punishment system for abuse.[/quote]... and his his name is Valik.[/quote]www.minikori.com Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now