%itemSetStat()

Aliases%itemSetStat( ), %itemSetStat( ), %itemSetStat( )
Parametersobject @entity, string @statName, mixed @value

    Sets the value for a given statName that belongs to the object. The entity
may be an object pointer or object keyword. The statName may be any one of
the following stat IDs:

keywords level name
shortName buyValue descInventory
longName sellValue descRoom
hitpoints rentCost
maxHitpoints weight

Example:

%itemSetStat( @o, level, 45 )