local not_in_area = {} EnableTrigger("Get_Names", false) for k,v in pairs(group_table) do if v == 0 then table.insert(not_in_area, k) end end EnableTrigger("End_Area", false) if SetCounterDebug == 0 then Send("gt @W" .. #not_in_area .. " @Ymember(s) not in the area: @W" .. table.concat(not_in_area, ", ") .. "$C") else ColourNote("white", "darkcyan", "Epic Not Here debugging information!") print("Epic Group") for _,v in ipairs(epicgroup.members) do print(v.name) end print("Group Table") for k,v in pairs(group_table) do print(k, v) end print("Not in Area") print(table.concat(not_in_area, ", ")) end if group_table["%1"] then group_table["%1"] = 1 end EnableTrigger("Get_Names", true) EnableTrigger("PlayersNear", false) EnableTrigger("End_Area", true) local group_not_here = {} for _,v in ipairs(epicgroup.members) do if v.info.here == 0 and v.info.lvl > 199 then table.insert(group_not_here, v.name) end end Send("gt @Y" .. #group_not_here .. " @CPlayer(s) Missing: @W" .. table.concat(group_not_here, ", ") .. "$C") group_table = {} for _,v in ipairs(epicgroup.members) do group_table[v.name] = 0 print(v.name) end EnableTrigger("PlayersNear", true) Send("where") Send("echo") if "%1" == "on" then SetCounterDebug = 1 ColourNote("white", "darkcyan", "Epic Not Here debugging on!") else SetCounterDebug = 0 ColourNote("white", "darkcyan", "Epic Not Here debugging off!") end