Jump to content

Need Help with my Script


 Share

Recommended Posts

Hi all,

just a need a lil help with my beginners script :) dont laugh, i started yesterday with autoit

Global $Paused
HotKeySet("q", "potting")

Func res()
    $Paused = NOT $Paused
    While $Paused
         If PixelGetColor ( 95 , 38 ) == 0xFF364A then
        send("1");                
        sleep(2000)
        ToolTip('        autores on"          ',0,0)
EndIf
    WEnd
    ToolTip("")
EndFunc

call ("main")

func main()
while True
    sleep(500)
wend
EndFunc

Thanks in advance :o and sorry for the disturb

PS.: Line -1: Error: Unknown function name.

Oh my god ! ok sorry, i saw the failure! Sorry guys, but maybe u can help me to do it nicer anyway :D

Edited by TurkPlaya
Link to comment
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
 Share

  • Recently Browsing   0 members

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