local singleTargetSpell = ' Katon Hosenka no Jutsu' local multiTargetSpell = 'Sasuke Attack' local distance = 2 local amountOfMonsters = 2 macro(250, "multi target spell", function() local specAmount = 0 if not g_game.isAttacking() then return end for i,mob in ipairs(getSpectators()) do if (getDistanceBetween(player:getPosition(), mob:getPosition()) <= distance and mob:isMonster()) then specAmount = specAmount + 1 end end if (specAmount >= amountOfMonsters) then say(multiTargetSpell) else say(singleTargetSpell) end end)