From 2cc38909a12ad2ea9a62eac35eb66bcecd721b9f Mon Sep 17 00:00:00 2001 From: Anthony Zhang Date: Wed, 27 Mar 2013 21:20:26 -0400 Subject: Add /tellme command to command block. --- mesecons_commandblock/init.lua | 8 ++++++++ 1 file changed, 8 insertions(+) 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 = "", + description = "Say to yourself", + func = function(name, param) + minetest.chat_send_player(name, param) + end +}) + minetest.register_chatcommand("hp", { params = " ", description = "Set health of to hitpoints", -- cgit v1.2.3