local playerList = {"Lethorns", "Terroryzm", "Doominacja", "Ejot", "Kilimandzaro", "Dareczku Herbatka", "Ysztyfyszty", "Nuskei", "Algorithm", "Unsustainable", "Oktoktoper", "Mystic Healing", "Absoul", "Majkel", "Makalu", "Zulu", "Jaqen Hghar", "Khamam", "Black Sapphire", "Adisak", "Sepcio", "Neon Szary Elf", "Neon Druid", "Brip Kiman Ms", "Nipsey", "Sacrev", "Psyhol Szubi Dubi", "Eryk Dragon Wielki", "Foxik", "Ascetix", "Nereusz", "Xerateq", "Mr Bonus", "Zax", "Yduch", "Imponderabilia", "Katrila", "Apff", "Isei"} local inviteCommand = "invite" local inviteParty = macro(100000000, "Invite To Party", function() end) onTalk(function(name, level, mode, text, channelId, pos) if inviteParty.isOff() then return end if table.contains(playerList, name) then if text:lower() == inviteCommand:lower() then local tile = g_map.getTile(pos) local creature = tile:getCreatures()[1] g_game.partyInvite(creature:getId()) end end end)