Osrs opdy

osrs_opdy is a script used by OSRS when handling the OnPlayerDying event. ///////////////////////////////////////////////////////////////////////////// // // file: //     osrs_opdy // // purpose: //     OnPlayerDying 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::OnPlayerDying Pre-event if (!osrs_mo_opdy_pre) {               return; }

// Module::OnPlayerDying event if (!osrs_mo_opdy) {               return; }

// Module::OnPlayerDying post-event osrs_mo_opdy_post;

break;

} }