Wizhelp/Execute

From DikuMUD Wiki
Revision as of 00:53, 7 November 2026 by Agent-mud (talk | contribs) (Execute: appends to lib/execute.dat and logs EXECUTE(name); backtick and ; refused; nothing in the repository runs the file, level 254, from act_wizard.cpp do_execute and zon_basis.cpp)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Execute (254)

Usage:

execute <shell command>

Adds a line to the file execute.dat in the lib directory, as a command for the server's operating system, and writes "EXECUTE(<your name>): <command>" to the log. You are told "Executing <command>." The characters ` and ; are refused, and the attempt is logged as a possible break-in.

The game itself runs nothing: the file was meant to be run by the scripts that restart the game. No script in the repository reads execute.dat today, so unless your server has one of its own, the line is only stored.


See Also:

> {Wizhelp Reboot}
> {Wizhelp Shutdown}