Stupid question about SNR that I need answered.

EDIT: No I didn’t. This is what I tried:
[lua]
local sittingout = {}
function ulx.sitout( calling_ply, target_ply, reason )

if not( sittingout[ target_ply:SteamID() ] ) then
	if( target_ply:Team() == TEAM_SPECTATOR ) then
		target_ply.CanSlay = true
	else
		target_ply.CanSlay = false
	end
	sittingout[ target_ply:SteamID() ] = true
	if target_ply:IsPlayer() and target_ply:IsValid() then
		target_ply:SetNWInt("SNR",1)
	end
	if reason and reason ~= "" then
		ulx.fancyLogAdmin( calling_ply, "#A sat #T out for next round(#s)", target_ply, reason )
		game.ConsoleCommand( string.format( "ulx warn %s %s %s

", “#T”, “#s” ) )
else
ulx.fancyLogAdmin( calling_ply, “#A sat #T out for next round”, target_ply )
game.ConsoleCommand( string.format( "ulx warn %s %s %s
", “#T” ) )
end
else
ulx.fancyLogAdmin( calling_ply, “#A cancelled sitting out #T”, target_ply )
target_ply.CanSlay = false
sittingout[ target_ply:SteamID() ] = nil
target_ply:SetNWInt(“SNR”,0)
end

end
[/lua]
Why isn’t the game console command working?

I’m not entirely sure what you are trying to do, as I’m not familiar with ULX, but I think you don’t understand what string.format() does. Take a look at the following:

string.format( "ulx warn %s %s %s
", “#T”, “#s” )

If that wasn’t invalid, it would return this: "ulx warn #T #s %s
"
However, it’s missing an argument, so instead it shits bricks and errors. It would appear that you don’t actually need that call to string.format at all, but, again, not familiar with ULX.
Have a look at this and this.