TSROutput = {} dirTemp = {} EnableTrigger("scanDir") EnableTrigger("scanLine") EnableTrigger("scanClose") EnableTrigger("scanOpen", false) > dirTemp = TriggerStyleRuns > local scanned = "%1" for _,v in ipairs(checkNames) do if scanned:upper():find(v:upper()) then if #dirTemp > 0 then TSROutput[(#TSROutput+1)] = dirTemp dirTemp = {} end TSROutput[(#TSROutput+1)] = TriggerStyleRuns end end >