addCommandHandler("m",
function (player, cmd, ...)
local acc = getAccountName(getPlayerAccount(player))
if isObjectInACLGroup("user."..acc, aclGetGroup("Moderator")) then
local tekst = table.concat(arg," ")
outputChatBox(">> "..tekst,getRootElement(),0,255,0)
end
end
)
addCommandHandler("a",
function (player, cmd, ...)
local acc = getAccountName(getPlayerAccount(player))
if isObjectInACLGroup("user."..acc, aclGetGroup("Admin")) then
local tekst = table.concat(arg," ")
outputChatBox(">> "..tekst,getRootElement(),0,180,247)
end
end
)