Osrs ofto

'osrs_ofto is a script used by OSRS. ///////////////////////////////////////////////////////////////////////////// // // file: //     osrs_ofto // // purpose: //     OnFailToOpen 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) {       ////////////////////////////////////////      door case I_OSRS_EVENT_CLASS_DOOR: // Door::OnFailToOpen Pre-event if (!osrs_d_ofto_pre) {               return; }

// Door::OnFailToOpen event if (!osrs_d_ofto) {               return; }

// Door::OnFailToOpen post-event osrs_d_ofto_post;

break;

} }