If syntax definition doesn't exists, this is a problem, cause it can't be assigned to the highlighter and even is assigned and later deleted, it isn't loaded during PSpad start. It means AutoIt highlighter doesn't exist and can't be reloaded.
This isn't problem of the script function. -- <https://forum.pspad.com/read.php?2,73534,73539> PSPad freeware editor https://www.pspad.com
