Jump to content

Multi-Function Key Script...need some help!


Recommended Posts

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

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