btech.set_char_value
Sets a character value or adjusts skill experience.
Function
Synopsis
btech.set_char_value( character, value, amount, mode )
Arguments
number or string character- The character dbref or player name.
number or string value- The character-value code or name.
number amount- The value or experience amount.
number mode0sets level/value,1sets skill target,3sets XP, and other nonzero values add XP.
Returns
boolean successtrueafter the operation completes without a legacy error.
Notes
This function is available only in a running Lua callback. Invalid targets, invalid arguments, and legacy error results raise a Lua error.