Originally Posted by
kingcoolryan
I was wondering if there is anyway to create a timer to run a command in console every # minutes. I know this can be done through lua, but the only way to run it is through using a bypasser. I was interested if there is anyway in doing it without this?
You can easily create a lua to run every so many minutes, such as....
Code:
concommand.Add("speak")
function Speak()
if GetConVarNumber("speak") == 1 then
AddTimer( 1, 1, function()
RunConsoleCommand("say Hello there Mister Man");
end )
end
end
or something similar.
But you definitely require some sort of bypass, such as Antipathy's or my own to execute these scripts within a server, unless you're running it in singleplayer which isn't clientside and only requires you to type "lua_openscript"