shell.lua

socketmud/scripts/cmd_data/commands/shell.lua · 194 B

From the archive socketmud-lua.v2.tar.gz

Download the archive   « Back to the archive contents

cmdShell = cls_cmd:create();

function cmdShell:func(plr, arg)
	if arg == nil then
		arg = ""
	end
	enter_shell(plr.plr, arg);
end

cmdShell.security = 2;

cmdShell:register("shell");

Site Stats

Snippets: 1791
Codebases: 571