Hi
There is action that I can set hour when char log in and start bot? Example at 20:35 log in and start bot?
Hi
There is action that I can set hour when char log in and start bot? Example at 20:35 log in and start bot?
Ofc Yes. Take and enjoy
-- Author: Adamsz
-- Created: 2016-02-08
-- Verison: 1.0.0
init start
local account = "acc" -- account
local password = "pass" -- number
local character = "name" -- name of your character
init end
auto(5000,6000)
if(tonumber(os.date("%H")) == 20 and tonumber(os.date("%M")) == 35) and
if not $connected then
print("Trying to relog "..character)
connect(account, password, character)
if $connected then
setsetting('Cavebot/Enabled', 'yes')
print("Successfully logged in!")
end
end
else
end