Jump to content

Recommended Posts

Posted

Whats that best way to go about this, in autoit? I need it to pause my pixelsearch and call a function that buffs me with {F5} {F6} & {F7} each take about Sleep(500) I guess to cast.

Posted

I'm mentally drained right now...but I think AdlibEnable would do the trick...If I understood you correctly :whistle:

Writing AutoIt scripts since

_DateAdd("d", -2, _NowCalcDate())
Posted (edited)

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

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
  • Recently Browsing   0 members

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