Tags Path in Script

Hello everybody!
Can i call one variables (tag) in script?
How?

And can i parametrizated that tag?

For example i’ve one Live with 3 Extruders but in the future i choose to install and put the 4th Extruder.
Can I change the tag for find that Extruder without any action from me?
Sorry for my bad english…

Yes. In scripts, you retrieve tag values with the system.tag.read() and system.tag.readAll() functions. The strings you supply to indicate which tags to read can be constructed using any python techniques you like.

And is it possible to parameterize the Tag?

Yes. Let me repeat: “The strings you supply to indicate which tags to read can be constructed using any python techniques you like.”