bmos
August 3rd, 2022, 14:26
I just noticed while doing some testing that a Debug.chat('test') line in an onInit function of a named script is not showing up in chat.
I'm assuming the chat may not be available when that function is called, or perhaps it's something else.
Here's a little ext to make it easy to replicate.
EDIT: Comm.addChatMessage also seems to be unusable when called from onInit like this.
I'm assuming the chat may not be available when that function is called, or perhaps it's something else.
Here's a little ext to make it easy to replicate.
EDIT: Comm.addChatMessage also seems to be unusable when called from onInit like this.