function wyrzuc()
local cid = getTopCreature({x=996,y=995,z=5})
local pos = {x=,y=,z=}
if(getTileItemById({x=996, y=997, z=5}, 2696).itemid == 2696) then
if(doTeleportThing(cid, pos)) then
doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_BLUE, "Niestety, przegrales :(")
end...