Add Tag change scripts

I want to monitor some tags change, then do some scripts.
if i have many tags want to monitor, I have to add many tag change scripts.

Is there another idea?

Today i find we can write scripts in tag or UDT tag.
When its value changed ,we can write scripts.




But has twoproblems:
one : when PLC restart, it will write first? How I avoid it?
Two: scripts can’t invoke gateway scripts ?How I invoke it?

You can monitor a lot of tags in one tag change script. This makes the most sense when they share similar functionality. Within the script you can check which tag triggered the execution and choose the appropriate logic–something like

if "confirm_enable" in tagPath:
	# Do stuff
if "low" in tagPath:
	# Do other stuff