%deleteSavedVar()

Aliases%deleteSavedVar( )
Parametersmixed @entity, string @varName [, @entityType ]

    Deletes the value of the variable that is within the persistent variable
context of the entity. The entity may be a pointer to a room, mob, or
object. It may also be the vnum of a room or a keyword of a mob or object.
A query is made to remove the variable from the MySQL database everytime
this function is called. For this reason it is advisable to not call the
function unless you really want to delete the variable. It is important to
know that there can only be one shared saved variable for all mobs, or all
objects, or all rooms with the same vnum.

The @entity parameter may also be set to the vnum of a mobile or object.
If this is done then the optional @entityType parameter must be set to
"mobile" or "object" respectively.

Example:

%deleteSavedVar( 10005, towerOwner )