This commit is contained in:
WilLiam12-teddy 2020-06-19 13:34:41 -03:00
parent c86010aa0a
commit f219e1f955
4 changed files with 10 additions and 2 deletions

2
.gitattributes vendored

@ -1,2 +0,0 @@
# Auto detect text files and perform LF normalization
* text=auto

1
README.md Normal file

@ -0,0 +1 @@
# afk cmd

0
depends.txt Normal file

9
init.lua Normal file

@ -0,0 +1,9 @@
minetest.register_chatcommand("afk", {
description = "Tell everyone you are afk.",
privs = {interact=true},
func = function ( name, param )
local player = minetest.get_player_by_name(name)
minetest.chat_send_all(name.." is AFK! "..param)
return true
end,
})