btsetcharvalue()2
btmux-0.6-rc4/game/text/wizhelp/cat_functions/btsetcharvalue()2 · 651 B
From the archive btonline-btechmux-0.6-rc4.tbz2
Download the archive « Back to the archive contents
& btsetcharvalue()2
Error Messages:
* If <ObjectDB> is not valid the function will return #-1 INVALID
TARGET
* If <skill/attribute> is an attribute and <mode> does not equal 0
the function will return #-1 ONLY SKILLS CAN HAVE FLAG
* If <skill/attribute is not valie the function will return #-1
INVALID VALUE
Example:
Given a player named Labrat (#dbref 1234):
> think btsetcharvalue(#1234, medtech, 2, 0)
Labrat's Medtech set to 2
> think btsetcharvalue(#1234, medtech, 2, 1)
Labrat's Medtech set to 5
> think btsetcharvalue(#1234, medtech, 2, 2)
Labrat gained 2 more Medtech XP.