I have an action in the start of my script, and i want the bot don't relog if the stamina is below 900. But if the char logout because kick, i want to relog.
local accountName = "abc" local password = "abc" local characterName = "abc"
--DO NOT EDIT BELOW!
local relog == true
if stamina <= 900 then
relog = false
if (connected == false) and relog == true then
while (connected == false) do
connect(accountName, password, characterName)
Please, can anybody here help me?
Sorry my english, thank you.