blob: 1eea4a4bf82cd3079284a1a2bdd54afd43ee82f9 [file] [log] [blame]
MG Mud User88f12472016-06-24 23:31:02 +02001SYNOPSIS
Zesstra7ea4a032019-11-26 20:11:40 +01002 void preload(string file)
MG Mud User88f12472016-06-24 23:31:02 +02003
4DESCRIPTION
Zesstra7ea4a032019-11-26 20:11:40 +01005 Load the object with the given file name (which was returned by
6 epilog()). It is the 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 is 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.
MG Mud User88f12472016-06-24 23:31:02 +020013
Zesstra7ea4a032019-11-26 20:11:40 +010014 You can of course do anything else with the passed strings -
15 preloading is just the traditional task.
MG Mud User88f12472016-06-24 23:31:02 +020016
17SEE ALSO
Zesstra7ea4a032019-11-26 20:11:40 +010018 epilog(M), master(M)