Jump to content

Recommended Posts

Posted

Would This Be Possible To Write In Autoit:

You are playing an online game, with your autoit program running in the bg.

If An Online user types @check

Then if you are running the script you say (send) <---Running Anti Hack

Im pretty sure that responding would be easy, but idk about if another online player does @check..

Any Help?

Posted (edited)

Maybe there's a specific pixel that appears when someone "talks" in that game?

If yes, try PixelSearch()

Edited by Info
Posted

Look these up:

ControlGetText()

Send()

Thanks Very Helpful....

@Info, Where Are You Going with This, what are you suppose to do after you fine the pixel?

Posted

Mumms:

If you simply need to read text out of a control like an edit that is in the game window there is no need for pixel reading. Use Window Spy to get some info on this game window.

Posted

This Is What I Want To Do:

You Are Playing the game, and when someone types @dinks

You Automaticly respond: @ Dinks Clan [!]

Here Is My Code, Im Kind Of n00b so don't laught at my script :)

$test = 1
Run("SoF2MP-Test.exe")
WinWaitActive("SoF2 MP Test")
While $test = 1
$text = WinGetText("SoF2 MP Test", "")
If $text = "@dinks" Then
    Send("t")
    Send("@Dinks Clan [!]")
    Send("{ENTER}")
EndIf
WEnd

*t is default button to type something, Enter is to send it*

Any Help?

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
×
×
  • Create New...