Sorry, try this format instead:
Code:
($class eq "Ranger" || $class eq "Beastlord")
When comparing strings using "eq", they need to have double quotes, not single quotes.
You should also be able to do it this way:
Code:
($class == 'Ranger' || $class == 'Beastlord')
The single quotes should allow "==" to work.