Osrs ott

'osrs_ott is a script used by OSRS when handling the OnTrapTriggered event. ///////////////////////////////////////////////////////////////////////////// // // file: //     osrs_ott // // purpose: //     OnTrapTriggered 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_TRAP: // Trap::OnTrapTriggered Pre-event if (!osrs_tra_ott_pre) {               return; }

// Trap::OnTrapTriggered event if (!osrs_tra_ott) {               return; }

// Trap::OnTrapTriggered post-event osrs_tra_ott_post;

break;

} }