epic_group_not_in_room = {} EnableTrigger("In_Room",true) EnableTrigger("End_Group",true) EnableTrigger("Start_Group",false) table.insert(epic_group_not_in_room,"%1") EnableTrigger("In_Room",false) Send("gt @Y" .. #epic_group_not_in_room .. " @CPlayer(s) Missing: @W" .. table.concat(epic_group_not_in_room, ", ") .. "$C") EnableTrigger("End_Group",false) 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) EnableTrigger("Start_Group",true) Send("group") Send("echo ") local pid = GetPluginID() local pfile, pversion = GetPluginInfo(pid, 20) .. GetPluginInfo(pid, 6), GetPluginInfo(pid, 19) local raw = "https://raw.githubusercontent.com/Arcidayne/Aardwolf-Scripts/master/Epic_Not_Here_Counter/Epic_Not_Here_Counter.xml" get_update(pid, pfile, pversion, raw) 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 DoAfterSpecial(2, 'ReloadPlugin("e6cd5104e883a1dd9c4362e2")', 12)