btech.char_value
Gets a character attribute, skill level, target, experience, or experience threshold.
Function
Synopsis
btech.char_value( character, value, mode )
Arguments
number or string character- The character dbref or player name.
number or string value- The character-value code or name.
number mode0for value,1for skill target,2for XP,3for raw skill value, or4for XP to next level.
Returns
number value- The numeric result.
Notes
This function is available only in a running Lua callback. Invalid targets, invalid arguments, and legacy error results raise a Lua error.