Lua:

```
local effectDuration = 3*60
local effectInterval = 2
if not alreadyExecuted then
alreadyExecuted = 0
end
local function repeatEffect(pos, effect, repeats)
Game.sendMagicEffect(pos, effect)
if repeats > 0 then
addEvent(repeatEffect, effectInterval*1000, pos, effect, repeats-1)
end
end
function onAddItem(item, tileitem, position)
if alreadyExecuted == 0 and Game.isItemThere({x = 32511, y = 31585, z = 15},3034) then
repeatEffect({x = 32509, y = 31589, z = 15}, 13, effectDuration/effectInterval)
Game.sendMagicEffect({x = 32511, y = 31585, z = 15}, 16)
Game.removeItemOnMap({x = 32511, y = 31585, z = 15},3034)
alreadyExecuted = 1
end
end
```

If i put this same script number in other tiles, example tile 1, tile 2, tile 3 how can i add more positions in this part ?

Lua:

` if alreadyExecuted == 0 and Game.isItemThere({x = 32511, y = 31585, z = 15},3034) then`

tile1 {x = 32511, y = 31585, z = 15}

tile 2 {x = 32511, y = 31586, z = 15}

tile 3 {x = 32511, y = 31587, z = 15}

What i need?

if player addeditem in tile 1 for example and after try additem in tile 2

only will work this part of script

Lua:

```
Game.sendMagicEffect({x = 32511, y = 31586, z = 15}, 16)
Game.removeItemOnMap({x = 32511, y = 31585, z = 15},3034)
```