Despair

error parsing function call?

5 posts in this topic

#1 ·  Posted


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. 

 

Share this post


Link to post
Share on other sites



#2 ·  Posted

@Despair

I think you missed to read the forum rules.:( If this is a game, then this forum will not provide support.

Share this post


Link to post
Share on other sites

#3 ·  Posted

Oh i missed that.. Unfortunate. I will keep looking around on my own then. 

Share this post


Link to post
Share on other sites

#4 ·  Posted (edited)

 

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

Share this post


Link to post
Share on other sites
Guest
This topic is now closed to further replies.