Jump to content

error parsing function call?


Recommended Posts


If WinActivate("Droid4X 0.10.6 Beta") Then
    MsgBox(0, "Easy", "Hit ok once game is up and runing")
while 1
    sleep(10000)
    click1();
    Sleep(Random(750,2250))
    click2();
    Sleep(Random(750,2250))
    click3();
    Sleep(Random(750,2250))
    click4();
    Sleep(Random(750,2250))
    click5();
    Sleep(Random(750,2250))
    click6();
    Sleep(Random(750,2250))
    lastClick();
    Sleep(Random(5000,10000))
    Random(humanAwayFromGame(7,25))

Else
    GameIsDown();

WEnd
EndIf


 


Func GameIsDown();
    MsgBox(0, "Easy", "Game is not loaded..shutting down")
    Exit
EndFunc

Func click1()
    Mouseclick( "right", (Random(743,589), (Random(772, 623))
EndFunc

Func click2();
    Mouseclick( "right", (Random(969,594), (Random(1006, 623))
EndFunc

func click3();
        Mouseclick( "right", (Random(739,680), (Random(772, 709))
EndFunc

Func click4();
        Mouseclick( "right", (Random(971,681), (Random(1002, 710))
EndFunc

Func click5()
        Mouseclick( "right", (Random(739,771), (Random(775, 801))
EndFunc

Func click6();
        Mouseclick( "right", (Random(973,773), (Random(1006,798))
EndFunc

Func lastClick();
        Mouseclick( "right", (Random(772,638), (Random(857, 721))
EndFunc


func humanAwayFromGame();
    sleep(Random(25000,80000))
EndFunc
 

I'm super noob but..keep getting error parsing function staring at end of mouseclick in func click1(); can seems to find how to fix been a few years sense used autoIT anyone see what is wrong? this is not all complete wanted to test the clicks and can't get to work. 

 

Link to comment
Share on other sites

 

59 minutes ago, Despair said:

I will keep looking around on my own then. 

Sadly to say... But hope we can help you in other way not deviating our rules.^_^

@Jos

Edited by KickStarter15

Programming is "To make it so simple that there are obviously no deficiencies" or "To make it so complicated that there are no obvious deficiencies" by C.A.R. Hoare.

Link to comment
Share on other sites

  • Developers

*click*

Please report threads by clicking the Report button in stead of mentioning me. ;) thanks

SciTE4AutoIt3 Full installer Download page   - Beta files       Read before posting     How to post scriptsource   Forum etiquette  Forum Rules 
 
Live for the present,
Dream of the future,
Learn from the past.
  :)

Link to comment
Share on other sites

  • Jos locked this topic
Guest
This topic is now closed to further replies.
 Share

  • Recently Browsing   0 members

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