• You've discovered RedGuides, an EverQuest multi-boxing and scripting community 🧙‍♀️⚙️. We want you to play several EQ characters at once, come join us and say hello! 👋

  • A TLP without truebox has thawed (Very Vanilla ready)
    Frostreaver

Question - Conditionals with OR operator

Joined
Nov 9, 2023
RedCents
50¢
Hi all

I think I might be going crazy, but I can't get the || operator to work:

Cond1=(${Me.XTarget} > 1)
Cond2=${Target.Named}
Cond3=(${Me.XTarget} > 1) || (${Target.Named})

So, Cond1 and Cond2 works great! But Cond3 never works...

No clue what I am doing wrong.
 
condition 3 doesn't work because brackets are cray cray is my guess.
Cond3=${Me.XTarget} > 1 || ${Target.Named}
alternately you could Cond3=(${Me.XTarget} > 1 || ${Target.Named})
 
Hi all

I think I might be going crazy, but I can't get the || operator to work:

Cond1=(${Me.XTarget} > 1)
Cond2=${Target.Named}
Cond3=(${Me.XTarget} > 1) || (${Target.Named})

So, Cond1 and Cond2 works great! But Cond3 never works...

No clue what I am doing wrong.

Or you could use:

Cond3=${Cond[1]} || ${Cond[2]}
 
Question - Conditionals with OR operator

Users who are viewing this thread

Back
Top
Cart