In the xenobot "Tools" bar you can select anti idle and eat food.
And for saving code you have to past the code in a notepad file, save it as .lua in C:\Users\Usename\Documents\XenoBot\Scripts.
The code file will pop up in the "Scripter" of Xenobot. Then you only need to "Execute Script" to let it work.
The player on screen code is this:
Code:
dofile("Forgee.lua")
while true do
if playersAround(7) > 0 then
os.exit()
end
end
You only need the "Forgee.lua" Library to let the script work. just seach for it and save it in the same place as mentioned above.
LAterssss
-The Reel