Banning system for my admin mod

Hi, I am not sure how to do this, but I want to make a banning system, I alreayd have a report system that works fine but I am unsure howto make a banning system.

This is the Report plugin, make it with the same format so that the plugin system will no what it does.
[lua]PLUGIN = {}
PLUGIN[“name”] = “Report”
PLUGIN[“author”] = “Sam Wilkinson”
PLUGIN[“version”] = “1.0”
PLUGIN[“chatcommand”] = “report”
PLUGIN[“groups”] = {“Owner”,“Superadmin”,“Admin”,“Elite Admin”,“Developer”}
PLUGIN[“hooks”] = {}

function ReportPlayer(reporter,ply,reason)
if file.Exists(“NOVA/reports/reports.txt”) then
content = file.Read(“NOVA/reports/reports.txt”)
else
content = “”
end
content = content…"
“…os.date( “%m-%d-%y”)…” “…os.date(”%H:%M:%S")…" “…reporter:Nick()…” ("…reporter:SteamID()…" ) reported “…ply:Nick()…” ("…ply:SteamID()…") with reason ‘"…reason…"’"
file.Write(“NOVA/reports/reports.txt”,content)
end

function PLUGIN.init()
Msg("NOVA - Plugin Loaded: Report
");
end

function PLUGIN.runchatcommand(ply,textparts)
name = textparts[2]
table.remove(textparts,1)
table.remove(textparts,1)
reason = table.concat(textparts," “)
if name != “” and reason !=” " and reason !="" then
target = FindPlayer(name)
if target then
ReportPlayer(ply,target,reason)
ply:ChatPrint("[NAM] You reported “…target:Nick())
else
ply:ChatPrint(”[NAM] Player not found")
end
else
ply:ChatPrint("[NAM] No player name or reason given")
end
end

NOVA.Plugins.Register(PLUGIN)
[/lua]

Thanks in advance