36 lines
896 B
Plaintext
36 lines
896 B
Plaintext
////////////////////////////////////////////////////////////////////////////////
|
|
//
|
|
// Wrapper
|
|
// wrap_mod_onuser
|
|
// by Don Anderson
|
|
//
|
|
////////////////////////////////////////////////////////////////////////////////
|
|
|
|
void main()
|
|
{
|
|
ExecuteScript("prc_onuserdef",OBJECT_SELF);
|
|
int nUDE = GetUserDefinedEventNumber();
|
|
|
|
//Event 200
|
|
if(nUDE == 200) ExecuteScript("opw_pcexport",OBJECT_SELF);//PC Exports
|
|
|
|
//Event 201
|
|
if(nUDE == 201)
|
|
|
|
//Event 202
|
|
if(nUDE == 202) ExecuteScript("opw_db_update",OBJECT_SELF);//Database Updater
|
|
|
|
//Event 203
|
|
if(nUDE == 203)
|
|
|
|
//Event 204
|
|
if(nUDE == 204) ExecuteScript("cr_time_college",OBJECT_SELF);//College Time Clock
|
|
|
|
//Event 205
|
|
if(nUDE == 205) ExecuteScript("cr_time_local",OBJECT_SELF);//Local Time Clock
|
|
|
|
//Event 206
|
|
if(nUDE == 206) ExecuteScript("orw_mod_user",OBJECT_SELF);//Realistic Weather
|
|
|
|
}
|