* implemented SCP database functionality (.scp files). (sounds familiar? :P ) * new DefScript command: "loadscp,name filename" * added .def file: append.def. (wrapper to concat strings) ** -> note that the scp db has no real use right now, just some program internal stuff which will come tomorrow. soon i'll have a go at DefScript return values, useable e.g. to get data from the dbs.
31 lines
528 B
Modula-2
31 lines
528 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
|
|
|
|
// RELOADDEF myscript
|
|
// ...
|
|
|
|
// set permissions for internal functions
|
|
INTERNAL_PERM
|
|
|
|
// Load some SCP files
|
|
LOADALLSCP
|
|
|
|
// do more stuff here in future...
|
|
|
|
// load the uptime counter
|
|
LOADDEF uptime
|
|
|
|
LOG * StartUp complete!
|
|
|
|
|