Added builder name to irc_whereis
This commit is contained in:
parent
5a0cbbc844
commit
661e7ebe5c
@ -50,7 +50,8 @@ irc.bot_commands["whereis"].func = function(_, args)
|
||||
local id = box.box_id
|
||||
local bmeta = db.box_get_meta(id)
|
||||
local box_name = bmeta.meta.box_name
|
||||
return true, "Player " .. args .. " is playing box " .. id .. " - \"" .. box_name .. "\""
|
||||
local builder = bmeta.meta.builder
|
||||
return true, "Player " .. args .. " is playing box " .. id .. " - \"" .. box_name .. "\" by " .. builder
|
||||
else
|
||||
local pos = player:getpos()
|
||||
if pos.x < 1000 and pos.x > -1000 and
|
||||
|
Loading…
x
Reference in New Issue
Block a user