Welcome to the Achaea Forums! Please be sure to read the Forum Rules.

autoRage in Nexus

MitsuzukiMitsuzuki Member Posts: 2

Hi everyone,

I am trying to make a script in nexus to use my battlerage abilities whenever I hit my attack alias... but I am running into some issues.


The code I have so far is:

<code> if (rage_bal) and (rage_torment)

{angel torment @tar} </code>


when I do my attack alias I get the error...

Error in Function [autoRage]:

SyntaxError: Unexpected identifier


Any suggestions? I am trying to google how to do all this so I am sure I am missing something.

Comments

  • ArgwinArgwin Member Posts: 176 ✭✭✭ - Distinguished

    Is your code block an exact quote, and is it in an Execute Script action? It has quite a few JavaScript errors if so.

  • MitsuzukiMitsuzuki Member Posts: 2
    edited May 27

    @Argwin Yes it is an exact quote of what I have right now. It is a function. Guess script was the wrong term, my apologies. So when I hit my attack alias it should do autoRage and smite @tar.

Sign In to Comment.