I am in progress of making my first complicated script and I need your help.
I want script to work like this:
FIRST PART
if color1 is red
click1
send1
sleep1
if color2 is black
RELOAD SCRIPT
else
CONTINUE TO SECOND PART
else if color1 is black
click2
send2
sleep2
if color2 is red
RELOAD SCRIPT
else
CONTINUE TO SECOND PART
else
RELOAD SCRIPT
Second part
Works basically as First part with some changes with click1, send1, sleep1, click2, send2, sleep2
Now, I don't need help with creating whole script, I just need to know what to do with:
- RELOAD SCRIPT - I don't want just "reload" command, I need the script to reload automatically and start automatically, to keep working when I am afk for example.
- CONTINUE TO SECOND PART - There will be approximately 10 parts so it's just example.
Thank You so much
