Thanks for the reply. 2 things:
First, this obviously only changes the bot's modes on init, and not while the bot is already running.
Second, it doesn't even seem to work, since neither of the 2 commands i have set in that script (modechange and service identification) seem to work.