Tag change script runs when saving

I have a tag change script that sends out an email. Every time I save and publish a change everyone on the list recieves an erroneous email. the script runs even though the tags value hasn’t changed. Is there a way to prevent tag change scripts from running when saving the project?
Thank you

may want to take a look at this and see if the initialChange is being flagged when you publish.

inductiveautomation.com/supp … cripts.htm

I see that the initialchange is a flag to indicate if it was triggered by initially subscribing. Is there a way to prevent the initial execution when publishing or saving?

thank you.

The initialChange variable should apply to saves as well.