Charles there are a couple different ways you can do this but the short version is you can use 3 technologies.
If you look in the Base24 ATM Ticketing analyst including in Payments - Base24 under knowledge as a starting point of an example.. it is not MTS specific but that is a useful example where it issues NCPCOM commands.
1) Analysts which you are familar
2) Thresholds
3) Node.js (via automation or even from a threshold or analyst)
1) In Help reference "Analyst using IRCMD"
2) In Help reference the help "Commands from Thresholds"
3) In Hep reference "Administration - Automation Page", which is much different than you are use to and developing new scripts.. but the command setup execution is much different.
If my answer helped you today, please be sure to mark the resolved button to assist others.
Christopher R Souser - Solution Architect – MSci. PA, CISSP, ITIL.