Osrs opde

osrs_opde is a script used by OSRS when handling the OnTrapTriggered event. ///////////////////////////////////////////////////////////////////////////// // // file: //     osrs_opde // // purpose: //     OnPlayerDeath 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) {       ////////////////////////////////////////      module case I_OSRS_EVENT_CLASS_MODULE: // Module::OnPlayerDeath Pre-event if (!osrs_mo_opde_pre) {               return; }

// Module::OnPlayerDeath event if (!osrs_mo_opde) {               return; }

// Module::OnPlayerDeath post-event osrs_mo_opde_post;

break;

} }