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?
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?
Any way to do it without a bypasser?
Not really, but there are two different types of bypassers, or three. depending on how you look at it.
There are external bypassers such as my own that modifies a cvar in memory.
Then there's the injectable ones that do the same thing basically but the chance of getting banned is higher (as far as I know)
Then there's the module type bypass that is considered a clientside addon that can force a bypass at bootup, but those are hard to get by unless you know how to make your own. Eithe that or they're paid.
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"