Osrs oexi

osrs_oexi is a script used by OSRS. ///////////////////////////////////////////////////////////////////////////// // // file: //     osrs_oexi // // purpose: //     OnExit 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) {       case I_OSRS_EVENT_CLASS_AREA: // Area::OnEnter Pre-event if (!osrs_a_oexi_pre) {               return; }

// Area::OnEnter event if (!osrs_a_oexi) {               return; }

// Area::OnEnter post-event osrs_a_oexi_post;

break;

case I_OSRS_EVENT_CLASS_ENCOUNTER: // Encounter::OnEnter Pre-event if (!osrs_e_oexi_pre) {               return; }

// Encounter::OnEnter event if (!osrs_e_oexi) {               return; }

// Encounter::OnEnter post-event osrs_e_oexi_post;

break;

case I_OSRS_EVENT_CLASS_TRIGGER: // Trigger::OnEnter Pre-event if (!osrs_tri_oexi_pre) {               return; }

// Trigger::OnEnter event if (!osrs_tri_oexi) {               return; }

// Trigger::OnEnter post-event osrs_tri_oexi_post;

break;

} }