Auto-Console Command Plugin?

I’m looking for a way to run certain console commands routinely on my server, maybe every hour or so. A friend of mine has told me that it’s possible to do so, with a plugin. I’m wondering if any of you know a plugin that can do that, if you could point me in the right direction, it would be appreciated.

[lua]
local commands = {}
– //////////////
– Format
– commands[the hour that you want it to run] = {“the command you want to run”, "the value if it has one, if not then leave it as “” "}
– /////////////
commands[23] = {“sv_airaccelerate”, “100”}

–Run a timer to check the time every 60 mins
timer.Create( “sv_run_consolecommand”, 3600, 0, function()
for k,v in pairs(commands) do
if k == os.date("%H") then
RunConsoleCommand(v[1], v[2])
end
end
end)
[/lua]

Something along these lines, if you’re still stuck post exactly what you want and I’ll see what I can do



if ( SERVER ) then

     function runCommands() 

          timer.Simple( 300, function() RunConsoleCommand(command here) end )
          timer.Simple( 300, function() RunConsoleCommand(command here) end )
          timer.Simple( 300, function() RunConsoleCommand(command here) end )
          timer.Simple( 300, function() RunConsoleCommand(command here) end )
          timer.Simple( 300, function() RunConsoleCommand(command here) end )

     end

end



change the 300 in the amount of seconds you want. You can add as many lines as you want

i can’t tell if you’re being serious or not