Derma error

Here is the Error:

RunConsoleCommand: Command has invalid characters! (banid 5 15 Banned/n (’ '))
The first parameter of this function should contain only the command, the second parameter should contain arguments.

Here is the code

[lua]
–[[
Product: Source Core.
Name: Visual Graphic Interface.
Use: Visual interface.
–]]

// Include start
// Include end

// Script Start
if (CLIENT) then
function BanMenu(ply)
local cfg = {}
cfg[1] = " Banned"
if (LocalPlayer():IsSuperAdmin()) then
BanFrame = vgui.Create( “DFrame” )
BanFrame:SetSize( 200, 200 )
BanFrame:Center()
BanFrame:SetTitle( “BanMenu” )
BanFrame:SetDraggable( true )
BanFrame:ShowCloseButton( true )
BanFrame:MakePopup()

local CurrentFreq = vgui.Create( "DLabel", BanFrame )
CurrentFreq:SetPos( 20, 30 )
CurrentFreq:SetText( "Steam ID" )
CurrentFreq:SetFont( "TargetID" )
CurrentFreq:SizeToContents()
CurrentFreq.Think = function()
	CurrentFreq:SetText( "Source.Core.Bans" )
end
	local TimeTextEntry = vgui.Create( "DTextEntry", BanFrame )
TimeTextEntry:SetPos( 10, 75 )
TimeTextEntry:SetSize( 80, 20 )
TimeTextEntry:SetText( "" )

local BanTextEntry = vgui.Create( "DTextEntry", BanFrame )
BanTextEntry:SetPos( 10, 110 )
BanTextEntry:SetSize( 80, 20 )
BanTextEntry:SetText( "" )

local ConfirmButton = vgui.Create( "DButton", BanFrame )
ConfirmButton:SetPos( 50, 150 )
ConfirmButton:SetSize( 50, 20 )
ConfirmButton:SetText( "Execute" )
ConfirmButton.DoClick = function()
    RunConsoleCommand( "banid " .. BanTextEntry:GetValue() .. " " .. TimeTextEntry:GetValue() .. cfg[1] .. "/n" )

end
end
end
end
concommand.Add( “BanMenu”, BanMenu ) [/lua]

Cannot figure out what to fix and how, So. Help?

[editline]09:31AM[/editline]

Overv helped me, I was being a dumbass and did the entire runconsolecommand incorrectly. Fuck me.