Auto Trade Scirpts

Can anyone tell me how to make a script that starts at Const trader shop goes to JG trader shop and then back to Const and make it loop after that so i don’t have to close my pet. I’ve made a script from Const-JG and back to Const, but sometimes the chars stop at Const trader shop or Jangan trader shop after a few trades…