| Path: | server/shellCommands/initoff.cmd (CVS) |
| Last Update: | Sat Aug 18 22:54:10 -0700 2007 |
# # The initoff MUES::CommandShell command. # Time-stamp: <13-Oct-2002 22:37:38 deveiant> # $Id: initoff.cmd,v 1.1 2002/10/14 09:47:20 deveiant Exp $ # # == Authors: # * Michael Granger <ged@FaerieMUD.org> #
Turn server ‘init mode’ off.
This command turns the server‘s ‘init mode’ to off. There is no command to turn init mode back on once it is turned off.
initoff
admin
# Code will be called like this:
# cmd.invoke( context, argString )
# where 'context' is a MUES::Command::Context object, and argString is the
# text of the command entered, with the command name and any leading/trailing
# whitespace removed.
msg = ''
if MUES::ServerFunctions::cancelInitMode
msg = "Init mode is now off."
else
msg = "Init mode was already off."
end
return [ OutputEvent.new( msg + "\n\n" ) ]