function message (thePlayer,cmd,...)
local accName = getAccountName ( getPlayerAccount ( thePlayer ) )
if isObjectInACLGroup ("user."..accName, aclGetGroup ( "Everyone" ) ) then
local allArgs = {...}
local theMessage = table.concat(allArgs, " ")
outputChatBox("<OG?OSZENIE> "..theMessage.."", getRootElement(), 0, 216, 202)
outputServerLog("OGLOSZENIE: "..theMessage.."")
outputDebugString ( "OGLOSZENIE: "..theMessage.."" )
end
end
addCommandHandler("ogloszenie", message)