class

Settable:
no
Arguments:
character, integer
Return Value:
integer

Returns the indicated class of the given character. If the integer argument is 1, it returns the primary class; 2 returns the secondary class, 3 returns the tertiary, etc. The class is returned as an integer from the following table

1magic user
2cleric
3thief
4warrior
5avatar
6druid
7necromancer
8bard
9monk