%getServerBootId()

Aliases%getServerBootId( )
Parameters-

    Returns a unique ID for the current server boot. This can be used in
conjunction with saved variables and player variables to determine if an
affect or object's data should expire since the game ha reboot. For
instance if your object saved the pointer for a mobile, then that pointer
would become invalid when the game reboots. For this reason you could
check against a saved boot ID and the current boot ID to determine if the
pointer is still valid.

Example:
--------------------------------------------------------------------------

if( %getServerBootId() != %getPlayerVar( @this, savedBootId ) )
{
%purge( @this )
}
endif