OnReset

Syntax:

 begin OnReset

This block will be run once whenever the scripted object's cell is reset due to being expired (3 days after the player last entered it). Generally used for traps and animating objects in order to reset their state.