Bog dismount the pet in the end of trade script after selling

Okay i have a script for const jangan 4x trade which goes from const to jangan then jangan to const then repeat and end in const as it started, after selling the last trade the bot automatically dismount the pet, is there anything i can add to fhe script to prevent this? Just to stop the bot after selling the trade?

Have you tried it?

Yes ryan, i checked and some of the chars had the pet dismounted, the other have it still but when i start the bot again the next day it says you have no pets in your storage then the bot stop, so how can i fix this? Like is there any option to make the bot mount the trade pet without opening the client?

I mean did you try stopping the bot after the trade is complete.