Add /tellme command to command block.

This commit is contained in:
Anthony Zhang 2013-03-27 21:20:26 -04:00
parent 36bcce57b0
commit 2cc38909a1

@ -20,6 +20,14 @@ minetest.register_chatcommand("tell", {
end 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", { minetest.register_chatcommand("hp", {
params = "<name> <value>", params = "<name> <value>",
description = "Set health of <name> to <value> hitpoints", description = "Set health of <name> to <value> hitpoints",