Jump to content

Recommended Posts

Posted

hello all i am back with new thing i want to learn only dont know anything about it so please i ask kindly if some on would like to help me

the next here is the problem

i want to make an bot if it is posible for my little brother for his pokemon game

i want to make it only to do this 2 commands --> & <--

because if u put pokemon ad an lady or man they train then for every footstep u make

so i u put an pokemon there and go walk then he train it some how

how to make that in an autoit code i already made an little start only i think i am wrong here is it

#include <GUIConstants.au3>

GUIcreate("pokemon bot",350,350)
GUISetState (@SW_SHOW)

GUICtrlCreateLabel("pokemon bot",50,50,150,150)

$button_1 = GUICtrlCreateButton("start", 125,250,30,30)


While 1
    $msg = GUIGetMsg()
If
   $msg = $button_1
   Then 
 Send({RIGHT})   
 And
 Send({left})
WEnd

please help me with this :whistle:

Posted

so if u say this must be good right?

#include <GUIConstants.au3>

GUIcreate("pokemon bot",350,350)
GUISetState (@SW_SHOW)

GUICtrlCreateLabel("pokemon bot",50,50,150,150)

$button_1 = GUICtrlCreateButton("start", 125,250,30,30)

While 1
$msg = GUIGetMsg()
Select
Case $msg = $button_1
Send("{RIGHT}")
Send("{RIGHT}")
Send("{LEFT}")
Send("{LEFT}")
return while 1
EndSelect
WEnd

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
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...