forked from minetest-mods/mesecons
		
	Add /tellme command to command block.
This commit is contained in:
		| @@ -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", | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user