macro(500, "Auto party", function() local spectators = g_map.getSpectators(g_game.getLocalPlayer():getPosition()) for i,v in pairs(spectators) do if(v:isPlayer()) then if(v:getShield() == 1) then g_game.partyJoin(v:getId()) return end end end end)