I need a script that will stop the bot from stealing my guild members' dragons. I dont even know if that is possible and im talking stupid but some ideas i have:

make bot move on if a guild member is on screen
dont attack dragon if he is attacking a guild member
or if it cant recognize who is from my guild, i could make a list with names and the bot would recognize by that?

thanks in advance