if startScan then TSROutput = {} dirTemp = {} EnableTrigger("scanDir") EnableTrigger("scanLine") EnableTrigger("scanClose") end > dirTemp = TriggerStyleRuns > print(scanned) local scanned = "%1" scanned = scanned:upper() for _,v in ipairs(checkNames) do local vStr = "%f[%S]" .. v:upper() .. "%f[%A]" if string.match(scanned, vStr) then if #dirTemp > 0 then TSROutput[(#TSROutput+1)] = dirTemp dirTemp = {} end TSROutput[(#TSROutput+1)] = TriggerStyleRuns end end >