WoR_PRC8/_module/nss/rhun_on_udevents.nss
Jaysyn904 b5e28e52f4 Initial commit
Initial commit [1.18]
2025-04-03 11:49:34 -04:00

22 lines
410 B
Plaintext

/*
s_moduserdef - Incorporate this code into Module::OnUserDefined
*/
void main()
{
switch (GetUserDefinedEventNumber()) {
case 200:
/*
Export all characters every 'n' seconds. Note that this event triggers
itself, on a timer, when finished -- until the module is unloaded.
*/
ExportAllCharacters();
DelayCommand(600.0, SignalEvent(OBJECT_SELF, EventUserDefined(200)));
break;
}
}