Guys, that's a really good tutorial but i have to add something more to your code to be on just one tab and it's working, i tested myself
Script Code
send R
repeat 12
repeat 90
send {Spacebar}
send 3
wait 400
send E
wait 100
send E
wait 100
send E
end_repeat
send W
wait 19000
send W
wait 1000
end_repeat
The code is for a Full hour of working
Legend
3 Normal attack
W Rest
E Pick up
R Pet Food
But there is a problem with pet food, you need to select first your pet and then use "R"
Nevermind, i just got a temporary solution for pet food problem.
The temporary solution is to use Mouse left click command, in my settings is "left 141 160".
That will click on the pet icon till use food and after "send {Spacebar}" for deselect.
New code is
left 141 160
send R
send {Spacebar}
wait 500
repeat 12
repeat 90
send {Spacebar}
send 3
wait 400
send E
wait 100
send E
wait 100
send E
end_repeat
send W
wait 19000
send W
wait 1000
end_repeat
And man, how did you get the data codes for hp ... what are you using, tell me.
But i'm still waiting for a good answer for my problem please.