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)
Send("gt @W" .. #not_in_area .. " @Ymember(s) not in the area: @W" .. table.concat(not_in_area, ", ") .. "$C")
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 ")
group_table = {}
for _,v in ipairs(epic_group_members) do
group_table[v.name] = 0
end
EnableTrigger("PlayersNear", true)
Send("where")
Send("echo")