mojo_client/bin/scripts/_startup.def
False.Genesis b15aff0b5d *New DefScript API functions: loadconf, applyconf, applypermissions; log, logdebug, logdetail (according to debug level set in conf).
-> moved conf loading from core to scripts.
*New DefScript call: _leaveworld.def
*Fixed crash when calling _leaveworld on ~WorldSession()
* some updates to internal variable name handling
* added new macro: @n : newline (\n)
* cleanups
* added a bunch of new scripts + examples
2007-01-29 15:09:11 +00:00

35 lines
606 B
Modula-2

#permission=255
// PSEUWOW DEF_SCRIPT STARTUP FILE
OUT * 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...
OUT * StartUp complete!