The Tool Change Script is "called" at the beginning of the print with OLDTOOL undefined and NEWTOOL = 0. I would like to test for this condition and do something different than at subsequent tool changes.
The exact syntax isn't important but detecting the undefined condition is.