Hasclass

      hasclass - syntax: hasclass(ch,[class]) 

Returns true if the CH has the class given. For example, 'if hasclass(ch,CLASS_THIEF) then'...