Skip to content

Commit 2cc3890

Browse files
committedMar 28, 2013
Add /tellme command to command block.
1 parent 36bcce5 commit 2cc3890

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed
 

Diff for: ‎mesecons_commandblock/init.lua

+8
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,14 @@ minetest.register_chatcommand("tell", {
2020
end
2121
})
2222

23+
minetest.register_chatcommand("tellme", {
24+
params = "<text>",
25+
description = "Say <text> to yourself",
26+
func = function(name, param)
27+
minetest.chat_send_player(name, param)
28+
end
29+
})
30+
2331
minetest.register_chatcommand("hp", {
2432
params = "<name> <value>",
2533
description = "Set health of <name> to <value> hitpoints",

0 commit comments

Comments
 (0)
Please sign in to comment.