I have a dual-nozzle setup with a starting script that primes each tool and wipes the nozzle. Even in prints that only use one tool, I leave the inactive tool at print temps with the filament out of the melt zone to reduce collisions.
I want the prime&wipe script to run only for nozzles that are used in the print. If T1 is used for features but T0 is not, then only T1 would prime and wipe.
Is there a script variable that can help do this? I think I would need to check if T0 was used for any feature (infill, raft, outline, support, etc).
If no suitable script variable exists, is there another way to do this? Modifying the script for every print is not a good option.