I'm looking for possible ways to optimize a script or lower CPU usage from my script. Are there any practices I should implement that are great for lowering CPU usage?
Also, there is something I notice with the scripts. If I use it, it will work fine normally but when I have say multiple of them running at the same time they will start to misclick with certain stuff, such as interacting with a NPC etc. Is this due to the CPU being a limiting factor or could it be something else? I am hoping to squeeze out as many bots as I can on a single server/vps.