[ < ] | [ > ] | [ << ] | [ Up ] | [ >> ] | [Top] | [Contents] | [Index] | [ ? ] |
This is a mode that allows you to enter commands on standard input to examine
objects or evaluate arbitrary code with wizard permissions in order to, e.g.,
blank out a forgotten wizard password or repair a database having a broken
$do_login_command
verb that otherwise would not allow anyone to connect.
When you start the server and supply the -e
command line option,
the database will load and you will then see a prompt indicating the identity of
the wizard whose permissions you are using and the current state of the debug flag,
e.g., one of
MOO (#2): MOO (#2)[!d]: |
the latter version of the prompt indicating that the debug flag is unset,
and thus that errors will be returned rather than raised,
as when you unset the d
flag on a verb.
The following commands are available in Emergency Mode:
;expression
;;statements
Note that expression or statement can be omitted,
in which case you will be prompted for multiple lines of input,
as for the .program
command. Type a period on a line by itself to finish.
Also note that no background code, whether resulting from fork
statements
or suspend()
calls, will run until after the Emergency Mode is exited.
program object:verb
list object:verb
disassemble object:verb
debug
wizard #objectid
#objectid
,
which must be an existing player object with `.wizard==1'.
continue
quit
abort
help
Note that output from wizard mode commands appears on the server's standard
output stream (stdout
) and thus can be redirected independently of
the log messages if those are being written to the standard error stream
(stderr
, i.e., if -l
has not been specified on the command line).
Also note that unless the server has been compiled to use the NP_SINGLE
networking variant, Emergency Wizard Mode is the only use of the
server's standard input and output streams.
[ < ] | [ > ] | [ << ] | [ Up ] | [ >> ] | [Top] | [Contents] | [Index] | [ ? ] |