mirror of
https://github.com/fluxionary/minetest-book_runner.git
synced 2025-04-30 05:11:45 -04:00
document command params
This commit is contained in:
parent
a4a3940415
commit
5140d71900
1 changed files with 1 additions and 0 deletions
|
@ -1,6 +1,7 @@
|
||||||
local S = default.get_translator
|
local S = default.get_translator
|
||||||
|
|
||||||
minetest.register_chatcommand("run_in_book", {
|
minetest.register_chatcommand("run_in_book", {
|
||||||
|
params = "<command> [<args>]",
|
||||||
description = "run the command; put the output in the book's body",
|
description = "run the command; put the output in the book's body",
|
||||||
func = function(name, param)
|
func = function(name, param)
|
||||||
local player = minetest.get_player_by_name(name)
|
local player = minetest.get_player_by_name(name)
|
||||||
|
|
Loading…
Add table
Reference in a new issue