Using variables to determine player level

I’m working on a macro that will be for leveling to 50. I want to try and use variables to change the sequence based on player level. I understand the basics of the variables. Is there any resources online i can use to learn the functions needed to detect player levels.

Have a look at John Metz’ Sub Macro. There is a version there that I posted that has an example of this where it changes Eviscerate to Black Powder at 52.

The complete list of what you can use is located: