i can help you but i dont test it, you can create a teleport acces to the room of the phyttus the rotten -for ex.-
teleport can contain the aid = xxxx and can use the movement
this teleport will take you to the room, and the actionid = xxxx
can do this,
<movevent type="StepIn" actionid="8888" event="script" value="test.lua"/>
and now make a new file called test.lua
and paste this
function onStepIn(cid, item, position, lastPosition, fromPosition, toPosition, actor)
if(not isPlayer(cid)) then
return true
end
local NorthWestRoomX = 1000
local NorthEastRoomX = 1020
local NorthWestRoomY = 1500
local SouthWestRoomY = 1520
for areax = NorthWestRoomX, NorthEastRoomX do
for areay = NorthWestRoomY, SouthWestRoomY do
areatiles = {x=areax, y=areay, z=7, stackpos=253}
areaplayers = getThingfromPos(areatiles).uid
if(not isPlayer(areaplayers)) then
return doRemoveCreature(areaplayers)
end
end
end
end
this means if the player step in the teleport to bring him to the toom of the phyttus the rootten room, it will remove all creatures in the room, you can modify all script as you wish.