Osrs oul

'osrs_oul is a script used by OSRS when handling the OnUnLocked event. ///////////////////////////////////////////////////////////////////////////// // // file: //     osrs_oul // // purpose: //     OnUnLock event script. // /////////////////////////////////////////////////////////////////////////////

// the include file for Open Source Rule Set events
 * 1) include "osrs_inc"

///////////////////////////////////////////////////////////////////////////// void main {   // determine what type of object is calling this script int iCallingClass = osrs_GetCallerEventClass(OBJECT_SELF); switch(iCallingClass) {       ////////////////////////////////////////      placeable case I_OSRS_EVENT_CLASS_PLACEABLE: // Placeable::OnUnLock Pre-event if (!osrs_p_oul_pre) {               return; }

// Placeable::OnUnLock event if (!osrs_p_oul) {               return; }

// Placeable::OnUnLock post-event wikp_p_oul_post;

break;

////////////////////////////////////////     door case I_OSRS_EVENT_CLASS_DOOR: // Door::OnUnLock Pre-event if (!osrs_d_oul_pre) {               return; }

// Door::OnUnLock event if (!osrs_d_oul) {               return; }

// Door::OnUnLock post-event osrs_d_oul_post;

break;

} }