Dailin Posted July 5, 2010 Share Posted July 5, 2010 Been working with this script a bit and trying to get it to work in a game. This is what i'd like to happen: I hit "R" and it will bring up the first spell (Inferno). When i hit "R" again, it will bring up the second spell (Virtuous Wrath). I'd actually like to be able to cycle through about 7 different spells but im just trying to get two of them working to begin with. Any help would be appreciated!! thx! HotKeySet("r", "Key_R") Func Key_R() Send("{NUMPADSUB}");Rage if $Key_R = 0 Then Send("'");Inferno $Key_R = 1 Elseif $Key_R = 1 Then Send(".");Virtuous Wrath $Key_R = 0 EndIf EndFunc Link to comment Share on other sites More sharing options...
somdcomputerguy Posted July 5, 2010 Share Posted July 5, 2010 Use HotKeySet to call the first function, at the end of that function, use HotKeySet again (with the same caller key) to call the second function, and so on.. - Bruce /*somdcomputerguy */ If you change the way you look at things, the things you look at change. Link to comment Share on other sites More sharing options...
Makaule Posted July 5, 2010 Share Posted July 5, 2010 It may be useful to you: http://www.autoitscript.com/forum/index.php?showannouncement=11&f=2 Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now