autoRage in Nexus

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

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

  • edited May 2021

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

  • Hey @Mitsuzuki, I made an auto rage script using Nexus’s simplified scripting. I posted it in this forum above if you want to check it out.
Sign In or Register to comment.