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")