UltiMaker uses functional, analytical and tracking cookies. Tracking cookies enhance your experience on our website and may also collect your personal data outside of Ultimaker websites. If you agree with the use of tracking cookies, click “I agree, continue browsing”. You can withdraw your consent at any time. If you do not consent with the use of tracking cookies, click “Refuse”. You can find more information about cookies on our Privacy and Cookie Policy page.
For scripting, in addition to NEWTOOL you can just use TOOL
ie
{IF TOOL = 1}G1 ASDF
{IF TOOL=0}G1 not ASDF
Found this helpful for custom mixing extruder profile.