* forgot to add conf option: "NOTIFYPING" * forgot to describe in prev. rev.: added new DefScript load definition: "#onload" & "#/onload". execute parts of scripts when they get loaded (to initialize stuff, for example)
35 lines
606 B
Modula-2
35 lines
606 B
Modula-2
#permission=255
|
|
|
|
// PSEUWOW DEF_SCRIPT STARTUP FILE
|
|
|
|
LOG * DefScript StartUp [${@version_short}]...
|
|
|
|
// Load required conf files.
|
|
LOADCONF PseuWoW.conf
|
|
LOADCONF users.conf
|
|
|
|
// Apply the configureation
|
|
APPLYCONF
|
|
|
|
// Apply user permissions
|
|
APPLYPERMISSIONS
|
|
|
|
// preload the scripts, however its not important to load them now.
|
|
//they will get loaded automatically if needed
|
|
LOADALL
|
|
// RELOADDEF myscript
|
|
// ...
|
|
|
|
// remove dangerous variables
|
|
CLEANUPVARS
|
|
|
|
// set permissions for internal functions
|
|
INTERNAL_PERM
|
|
|
|
|
|
// do more stuff here in future...
|
|
|
|
LOG * StartUp complete!
|
|
|
|
|