Jump to content

Repeating functions


 Share

Recommended Posts

ok i gotcha even though this magraine been killing me all day but..

I have it like so, I want it to buff me as soon as start the bot. But it seems to want to wait for a bit even on such a short delay. Then it trys to keep repeating it :whistle:

AdlibEnable("Buff", 3000)

then my while loops is after it.
and this is at bottom.

Func Buff()
    If $usebuff= 1 Then
      Send("{F5}")
      Sleep(1000)
      Send("{F6}")
      Sleep(1000)
      Send("{F7}")
      Sleep(1000)
    EndIf
EndFunc
Edited by Seagul
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...