Osrs oprest

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

// Module::OnPlayerRest event if (!osrs_mo_oprest) {               return; }

// Module::OnPlayerRest post-event osrs_mo_oprest_post;

break;

} }