Skip to content
Permalink
Browse files

Add /tellme command to command block.

  • Loading branch information
Uberi committed Mar 28, 2013
1 parent 36bcce5 commit 2cc38909a12ad2ea9a62eac35eb66bcecd721b9f
Showing with 8 additions and 0 deletions.
  1. +8 −0 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",

0 comments on commit 2cc3890

Please sign in to comment.