diff --git a/RoomWindow.xml b/RoomWindow.xml new file mode 100644 index 0000000..724b1d2 --- /dev/null +++ b/RoomWindow.xml @@ -0,0 +1,195 @@ + + + + + + + + + + + + + + + + + + if not string.find("%1", "roomchars") then + roomCharsWin:add_text(TriggerStyleRuns, false) + end + + + +EnableTrigger("charCapture", false) +EnableTrigger("charEnd", false) + +if #roomCharsWin:get_text() == 0 then + roomCharsWin:add_text("No room characters to display.", false) +end +roomCharsWin:fit_contents(835, 250) +roomCharsWin:set_scroll(1) +roomCharsWin:show() + + + + +EnableTrigger("charStart", false) +EnableTrigger("charCapture") +EnableTrigger("charEnd") + + + + + if not string.find("%1", "roomobjs") then + roomObjsWin:add_text(TriggerStyleRuns, false) + end + + + +EnableTrigger("objCapture", false) +EnableTrigger("objEnd", false) + +if #roomObjsWin:get_text() == 0 then + roomObjsWin:add_text("No room objects to display.", false) +end +roomObjsWin:fit_contents(835, 250) +roomObjsWin:set_scroll(1) +roomObjsWin:show() + + + + +EnableTrigger("objStart", false) +EnableTrigger("objCapture") +EnableTrigger("objEnd") + + + + + +