Jump to content

Recommended Posts

Posted

How do i make my function repeat/loop? this is what i have..

;Start Bot
    Func _IfActive()
    Send('{F9}')
    MouseMove($X, $Y, 0)
    Endfunc
Posted

While 1
   _IfActive()
WEnd

[font="Times"] If anyone remembers me, I am back. Maybe to stay, maybe not.----------------------------------------------------------------------------------------------------------[/font][font="Times"]Things I am proud of: Pong! in AutoIt | SearchbarMy website: F.R.I.E.S.A little website that is trying to get started: http://thepiratelounge.net/ (not mine)[/font][font="Times"] ----------------------------------------------------------------------------------------------------------[/font][font="Arial"]The newbies need to stop stealing avatars!!! It is confusing!![/font]

Posted

Uhh how would that make it repeat? would i put it like this?

;Start Bot
    while 1
    Func _IfActive()
    Send('{F9}')
    MouseMove($X, $Y, 0)
    Endfunc
wend
Posted

;Start Bot
    while 1
      Sleep(1000)
      _IfActive()
   wend
   
    Func _IfActive()
       Send('{F9}')
       MouseMove($X, $Y, 0)
    Endfunc

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...