1
0
mirror of https://github.com/sys4-fr/server-nalc.git synced 2024-06-30 07:30:22 +02:00

Update whoison

Add "played" alias to "timeonline"
This commit is contained in:
Ombridride 2015-05-25 21:19:00 +02:00
parent 54f3ed1fd7
commit 6753155ce1

View File

@ -95,7 +95,7 @@ minetest.register_chatcommand("seen",{
end
})
minetest.register_chatcommand("played",{
minetest.register_chatcommand("timeonline",{
param = "<name>",
description = "Shows the cumulative time a player has been online",
func = function (name, param)
@ -111,6 +111,7 @@ minetest.register_chatcommand("played",{
end
end
})
minetest.register_chatcommand("timeonline", core.chatcommands["played"])
function breakdowntime(t)
local countdown = t