Spoiler 
Admin_Table = {}
RGBCLR = "255255255"
Mod_Table = {23450}
RGBCLR2 = "255255000"
function table.find(tab,val)
for k, v in pairs(tab) do
if v == val then
return k
end
end
return false
end
addhook("say","adminsay")
function adminsay(id,txt)
if txt == "rank" then
return 0
end
if string.sub(txt,1,4) == "@say" then
txt = string.sub(txt,6)
if table.find(Admin_Table,player(id,"usgn")) then
msg("©"..RGBCLR..player(id,"name").." (Admin): "..txt)
return 1
end
end
end
addhook("say", "slappl")
function slappl(id, txt)
if txt:lower():sub(1, 5) == "@slap" then
local pl = tonumber(txt:sub(6))
if table.find(Admin_Table,player(id,"usgn")) then
if player(pl, "exists") then
parse("slap " .. pl)
end
end
end
end
addhook("say", "kickpl")
function kickpl(id, txt)
if txt:lower():sub(1, 5) == "@kick" then
local pl = tonumber(txt:sub(6))
if table.find(Admin_Table,player(id,"usgn")) then
if player(pl, "exists") then
parse("kick " .. pl)
end
end
end
end
addhook("say", "bannamepl")
function bannamepl(id, txt)
if txt:lower():sub(1, 5) == "@bann" then
local pl = tonumber(txt:sub(6))
if table.find(Admin_Table,player(id,"usgn")) then
if player(pl, "exists") then
parse("banname " .. pl)
end
end
end
end
addhook("say", "banippl")
function banippl(id, txt)
if txt:lower():sub(1, 5) == "@banip" then
local pl = tonumber(txt:sub(6))
if table.find(Admin_Table,player(id,"usgn")) then
if player(pl, "exists") then
parse("banip " .. pl)
end
end
end
end
addhook("say", "banusgnpl")
function banusgnpl(id, txt)
if txt:lower():sub(1, 5) == "@banusgn" then
local pl = tonumber(txt:sub(6))
if table.find(Admin_Table,player(id,"usgn")) then
if player(pl, "exists") then
parse("banusgn " .. pl)
end
end
end
end
addhook("say", "killpl")
function killpl(id, txt)
if txt:lower():sub(1, 5) == "@kill" then
local pl = tonumber(txt:sub(6))
if table.find(Admin_Table,player(id,"usgn")) then
if player(pl, "exists") then
parse("kill " .. pl)
end
end
end
end