local executors = { "Solara", "Wave", "Xeno", "Swift" } local function check(arg) for _, executor in ipairs(executors) do if arg == executor then print("executor supported:", arg) -- call script here, made this for my own upcoming script so thought id share it return end end print("executor not supported:", arg) end check(identifyexecutor())