Osrs or

osrs_or is a script used by OSRS when handling the OnRested event. ///////////////////////////////////////////////////////////////////////////// // // file: //     osrs_or // // purpose: //     OnRested 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) {       ////////////////////////////////////////      creature case I_OSRS_EVENT_CLASS_CREATURE: // Creature::OnRested Pre-event if (!osrs_c_or_pre) {               return; // TRUE; }

// Creature::OnRested event if (!osrs_c_or) {               return; // TRUE; }

// Creature::OnRested post-event osrs_c_or_post;

break;

} }