Difference between revisions of "Manual:DIL Manual/reboot"

From DikuMUD Wiki
Jump to navigation Jump to search
(XML import)
 
(XML import)
 
Line 1: Line 1:
 +
<span id="bpreboot"></span>
  
 +
'''Function:  '''<i><!--CODE-->reboot ;</i><!--ENDCODE-->
 +
This function works like a quit command.  Anything after the reboot function in a Dil will not be
 +
executed the mud will reboot instantly.  The zone must have root privileges in
 +
the zonelist in order to use this function.
 +
'''Simple reboot command'''
 +
<i><!--CODE-->
 +
---~---~---~---~---~---~---~---~---
 +
 +
dilbegin cmd_reboot (arg:string);
 +
code
 +
dilend
 +
 +
---~---~---~---~---~---~---~---~---
  
 +
</i><!--ENDCODE-->
 
<span id="bpreboot"></span>
 
<span id="bpreboot"></span>
  
Line 13: Line 28:
 
  dilbegin cmd_reboot (arg:string);
 
  dilbegin cmd_reboot (arg:string);
 
  code
 
  code
{
+
dilend
sendtext ("Rebooting the mud.&amp;n",self);
 
reboot;
 
}
 
dilend
 
  
 
  ---~---~---~---~---~---~---~---~---
 
  ---~---~---~---~---~---~---~---~---
  
 
  </i><!--ENDCODE-->
 
  </i><!--ENDCODE-->

Latest revision as of 22:33, 4 December 2025

Function:  reboot ;
This function works like a quit command.  Anything after the reboot function in a Dil will not be
executed the mud will reboot instantly.  The zone must have root privileges in
the zonelist in order to use this function.
Simple reboot command

---~---~---~---~---~---~---~---~---
dilbegin cmd_reboot (arg:string);
code

dilend

---~---~---~---~---~---~---~---~---

Function:  reboot ;
This function works like a quit command.  Anything after the reboot function in a Dil will not be
executed the mud will reboot instantly.  The zone must have root privileges in
the zonelist in order to use this function.
Simple reboot command

---~---~---~---~---~---~---~---~---
dilbegin cmd_reboot (arg:string);
code

dilend

---~---~---~---~---~---~---~---~---