Revscriptsys
Script Structure
Constructor:
GlobalEvent(eventName)
eventName: Equivalent to the
nametag in XML.Events:
onStartup()
onShutdown()
onTime(time)
onThink(interval)
onRecord(current, old)
Methods:
register(): Finalizes the definition of the global event and registers it.
type(eventType):
eventType: Equivalent to the
typetag in XML.time(executionTime):
executionTime: Equivalent to the
timetag in XML.interval(executionInterval):
executionInterval: Equivalent to the
intervaltag in XML.
Examples
Last updated
Was this helpful?