Demon777 Posted December 4, 2007 Share Posted December 4, 2007 (edited) I need help ppls Its not a realy big problem but... There : Func bot() If WinActive("METIN2") Then $b = Chr(121) $o = 1 Do Send(" {& $b &} ") $o = $o + 1 Until $o = 0 EndIf EndFunc How to make this funktion to push Y always in game.... I wanna to make that my gold that monsters drop will be taken automatic. Hotkey for taking Gold and other stuff is Y in game, so how can i put it in Funktion ??? thx Forgot : It must push Y again and again, so is it good to use Do - Until for it ? Edited December 4, 2007 by Demon777 Link to comment Share on other sites More sharing options...
Demon777 Posted December 4, 2007 Author Share Posted December 4, 2007 Noone ??? plz, realy need Link to comment Share on other sites More sharing options...
John117 Posted December 4, 2007 Share Posted December 4, 2007 (edited) Your request was a little lacking try this HotKeySet("{ESC}", "_Terminate") HotKeySet("{1}", "_Bot") While 1 Sleep(20) WEnd Func _Bot() If WinActive("METIN2") Then Send("{Y 4}") ;Presses the Y key 4 times EndFunc ;==>_bot Func _Terminate () Exit 0 EndFunc ;==>_Terminate Best I can do without knowing what you are asking. (all found in help file in min for a newbie) ;I didn't test this btw since I don't have METIN2 and your non informative question didn't seem to warrant an adaptation. -you should ways give more work in detail than you expect in return. Edited December 4, 2007 by Hatcheda 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