Hi,
Can someone give me an example GMCP message that opens the composer window in Mudlet 2.1? My test code is doing nothing (although gmcp.IRE.Composer contains text and title keys)
I'm sending:
IRE.Composer.Edit {"title": "Editor", "text": ""}
Thanks,
Barnabus
GMCP Message to open composer window
Re: GMCP Message to open composer window
Try:
That is, a space after the first brace.
The reason being is that for the composer we made an exception and didn't pass parsing through the json library, but through a regex. I've made a note to improve that.
Code: Select all
IRE.Composer.Edit { "title": "Editor", "text": ""}
The reason being is that for the composer we made an exception and didn't pass parsing through the json library, but through a regex. I've made a note to improve that.