Don't beat me up too badly please. Hacking my way through this stuff with no programming background. I'm not sure if there's an easy solution to this and my search skills are lacking or....
In macroscript you could write: /if (${Me.Class.ShortName.Equal[CLR,SHM,DRU]}) /dostuff
I'm struggling to figure out similar syntax in Lua.
The only options I've found through searching is creating an "am I a priest" function and calling the function when needed, or adding priest shortnames to a table and iterating through it. Is there an easier way to compare to one or more strings without a lengthy or list, a function, or iterating through a table?
In macroscript you could write: /if (${Me.Class.ShortName.Equal[CLR,SHM,DRU]}) /dostuff
I'm struggling to figure out similar syntax in Lua.
The only options I've found through searching is creating an "am I a priest" function and calling the function when needed, or adding priest shortnames to a table and iterating through it. Is there an easier way to compare to one or more strings without a lengthy or list, a function, or iterating through a table?


