Jump to content

Autoit wont work in Cabal


Hizza
 Share

Recommended Posts

The script i made works when i check it with notepad but as soon as i start up cabal the script stops working even in notepad.

i am new to this and all i want to do is it to use some skills while i fight so i do not have to press them.

here is what i have if anything is wrong with it.

Global $Paused
HotKeySet("{F5}","TogglePause")
HotKeySet("{F6}","ExitMod")


While 1
Send(6)
Sleep(900)
Send(7)
Sleep(900)
Send(8)
WEnd

Func TogglePause()
$Paused = NOT $Paused
While $Paused
sleep(100)
ToolTip('"Paused"',0,0)
WEnd
ToolTip("")
EndFunc

Func ExitMod()
    Exit
EndFunc
Link to comment
Share on other sites

  • 6 months later...

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