* need to remove lots of debug output later, after bags are done. * fixed ObjMgr. better store objects in only 1 list instead of storing them in 1 list per type. * eased config: if you modify the conf files during runtime, just type "config" in the console and the changes will be applied.
32 lines
537 B
Modula-2
32 lines
537 B
Modula-2
#permission=255
|
|
|
|
// PSEUWOW DEF_SCRIPT STARTUP FILE
|
|
|
|
LOG * DefScript StartUp [${@version_short}]...
|
|
|
|
// loads & applies the configuration
|
|
CONFIG
|
|
|
|
// preload the scripts, however its not important to load them now.
|
|
//they will get loaded automatically if needed
|
|
LOADALL
|
|
|
|
// load the uptime counter
|
|
LOADDEF uptime
|
|
|
|
// RELOADDEF myscript
|
|
// ...
|
|
|
|
// remove dangerous variables
|
|
CLEANUPVARS
|
|
|
|
// set permissions for internal functions
|
|
INTERNAL_PERM
|
|
|
|
|
|
// do more stuff here in future...
|
|
|
|
LOG * StartUp complete!
|
|
|
|
|