I have accurate code and it is supposed to be selecting the right action.
Could be an issue with mirror mode. I know stealth quester has problems with the dialogue selection.
Could you try it in 'Injection mode'?
Gave you a trial of my script to check it out.
"Ban rate" depends on use and not on the script. If you do 24/7 agility botting you are to expect a permanent ban.
Start learning the basics
Start looking at the osbot API
Explore the tutorial section in scripting help subforum
Decompile local scripts and see how they work
Make a basic script that does x y z