Jump to content
Sign in to follow this  
sumkid

bot making program

Recommended Posts

sumkid

I am trying to make a program that will record what you press and write it to a au3 file so it will make a bot for you. this is what i have i used "I" for an example:

While 1
FileOpen ( "Bot.au3" )
If Send ("{I down}") Then
    FileWrite ( "bot.au3", "Send ("{I Down}"))
    $time=TimerInit ()
    If Send ("{I up}") Then
        FileWrite ( "bot.au3", $time )
        FileWrite ( "bot.au3", "Send ("{I Up}")
    EndIf
EndIf
WEnd

im not sure what to do all i know is this gives me an error saying undetermined string. any ideas?

Share this post


Link to post
Share on other sites
JamesDover

Awesome i'm glad the gaming bot is not dead. So I am guessing you want to capture the key strokes while the game is running?

James

Share this post


Link to post
Share on other sites
sumkid

yeah or capture any keystrokes

Share this post


Link to post
Share on other sites
sumkid

nice thanks Nevin <_<

Share this post


Link to post
Share on other sites
SmOke_N

Didn't Valuater do something like this?


Common sense plays a role in the basics of understanding AutoIt... If you're lacking in that, do us all a favor, and step away from the computer.

Share this post


Link to post
Share on other sites
HeffeD

Do a search in example scripts for Macro Gamer.

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  

×