& btgetcharvalue()
 
  Syntax: btgetcharvalue(<ObjectDB>,<skill/attribute>,<mode>)
 
  This function returns the value of the specified skill or attribute 
  on the specified object (player). The mode argument indicates which 
  aspect of the skill/attribute to return:
 
    * 0 returns the skill/attribute base level
    * 1 returns the skill/attribute BTH
    * 2 returns the skill XP
 
  Error Messages:
 
    * If <ObjectDB> is not valid the function returns #-1 INVALID TARGET
    * If <skill/attribute> is not valid the function returns #-1 INVALID VALUE 
 
  Example:
  Given a player #dbref 1234 with a Perception of 1(6+):
 
  > think btgetcharvalue(#1234, perception, 0)
  1
  > think btgetcharvalue(#1234, perception, 1)
  6
  > think btgetcharvalue(#1234, perception, 2)
  16
