Sign in to follow this  
Followers 0
Demon777

Need help

3 posts in this topic

#1 ·  Posted (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 by Demon777

Share this post


Link to post
Share on other sites



Noone ??? ^_^:) plz, realy need

Share this post


Link to post
Share on other sites

#3 ·  Posted (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 by Hatcheda

Share this post


Link to post
Share on other sites

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 account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0