--lua PFL_ROOM 0 4 local lev = function(o) if getflag(o, flag.PofficersOnly) then return 7 end if getflag(o, flag.JOfficersOnly) then return 11 end if getflag(o, flag.OfficersOnly) then return 15 end return 4 end local minis = function() return children("mini_zone") end for l = 1, 18 do local s = "" for i,v in quests() do if lev(v)==l then s = s .. getstr(v, "mname") s = s .. " " end end for i,v in minis() do if lev(v) == l then s = s .. "mini:" .. getstr(v, "mname") .. " " end end if strlen(s)!=0 then s = format("^G%-15s^n ^Z%s", navyrank(l), s) send(pl, s) end end