MG Mud User | 88f1247 | 2016-06-24 23:31:02 +0200 | [diff] [blame^] | 1 | SYNOPSIS |
| 2 | void preload(string file) |
| 3 | |
| 4 | DESCRIPTION |
| 5 | Load the object with the given file name, that was returned by |
| 6 | epilog(). It is task of the epilog()/preload() pair to ensure |
| 7 | the validity of the given strings (e.g. filtering out comments |
| 8 | and blank lines). For preload itself a call_other(file, "???") |
| 9 | s sufficient, but it should be guarded by a catch() to avoid |
| 10 | premature blockings. Also it is wise to change the master's |
| 11 | euid from root_uid to something less privileged for the time |
| 12 | of the preload. |
| 13 | |
| 14 | You can of course do anything else with the passed strings - |
| 15 | preloading is just the traditional task. |
| 16 | |
| 17 | SEE ALSO |
| 18 | epilog(M), master(M) |