function onAddItem(cid, moveitem, tileitem, position)
if tileitem == ??? then
doPlayerSendCancel(cid, "You can't through things in teleport"
doSendMagicEffect(getPlayerPosition(cid), CONST_ME_POFF)
end
return false
end
<movevent type="AddItem" actionid="2001" tileitem="1" event="script" value="xxxx.lua"/>
function onAddItem(moveitem, tileitem, position)
doRemoveItem(moveitem.uid)
return true
end