This is used in scripts to find the actors class, or to adjust it.
%actor.class% - return the class of actor (e.g. Cleric)
%actor.class(<class>)% - set the actor class (returns 1 on success)
Example:
if %actor.class% == Cleric
say I don't like Clerics!
if %actor.class(Barbarian)%
emote waves his hands frantically at you.
say I have changed you into a Barbarian!
end
else
say Welcome %actor.class% %actor.name%!
end
See also:: CHAR-VAR, ADMLEVEL, ACTOR.LEVEL