Crie um arquivo de nome staff.lua em data/talkactions/script, utilize o seguinte conteúdo:
function onSay(cid, words, param, channel)
local result = db.getResult("SELECT `name` FROM `players` WHERE `group_id` > 1 ORDER BY `group_id` DESC")
local msg = "Server Staff\n\n"
if result:getID() == -1 then
while true do
local name = result:getDataString("name")
msg = msg .. name .."\n"
if not result:next() then
break
end
end
end
doPlayerPopupFYI(cid, msg)
return true
end
Abra o arquivo talkactions.xml e adicione a seguinte chave
<talkaction words="/staff" event="script" value="staff.lua"/>
Fiz este código para listar em ordem decrescente de acesso todos os jogadores que não pertençam ao grupo padrão. Ou seja, até tutores serão listados.