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
1 changed files with 8 additions and 0 deletions

View File

@ -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",