Skip to content

Monarch 4.5.0

Compare
Choose a tag to compare
@britzl britzl released this 31 Aug 07:26
· 10 commits to master since this release

CHANGE: It is now possible to provide a URL instead of a function to monarch.on_post()

-- 3 ways to set a url where messages to "myscreen" should be sent
monarch.on_post("myscreen", "some#url")
monarch.on_post("myscreen", msg.url("some#url"))
monarch.on_post("myscreen") -- use current script url

-- set a function to call when messages are sent to "myscreen"
monarch.on_post("myscreen", function(message_id, message)
    print(message_id)
end)