Skip to content

Commit

Permalink
Add /tellme command to command block.
Browse files Browse the repository at this point in the history
  • Loading branch information
Uberi committed Mar 28, 2013
1 parent 36bcce5 commit 2cc3890
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions mesecons_commandblock/init.lua
Expand Up @@ -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",
Expand Down

0 comments on commit 2cc3890

Please sign in to comment.