Hi in my server, there is a Anti AFK Gathering system that consists in this:

so i need to click on the right arrow to chose what is the intruder there

is there any possible way that i can do that with a script?
im just using that:
if #contname = generic_gump
gosub bank
wait 1s
click XXXX XXXX X F
return
cuz if i fail the awnser they only nuke the resources in my backpack.
and if i fail the gump shows up again in like 2mins sometimes less then that, with another question.
so it press's the left Arrow, so almost of the times i get it in the 3rd attempt.
but if there is a way to pass this thru a scrip that would be awsome.