diff options
-rw-r--r-- | mesecons_commandblock/init.lua | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/mesecons_commandblock/init.lua b/mesecons_commandblock/init.lua index 0cc91c9..9e868bc 100644 --- a/mesecons_commandblock/init.lua +++ b/mesecons_commandblock/init.lua @@ -20,6 +20,14 @@ minetest.register_chatcommand("tell", { end
})
+minetest.register_chatcommand("tellme", {
+ params = "<text>",
+ description = "Say <text> to yourself",
+ func = function(name, param)
+ minetest.chat_send_player(name, param)
+ end
+})
+
minetest.register_chatcommand("hp", {
params = "<name> <value>",
description = "Set health of <name> to <value> hitpoints",
|