local config = {
id = xxxx,
pos = {x = , y = , z = , stackpos = },
text = "hfhf"
}
function onStepIn(cid, item, position, fromPosition)
local letter = doCreateItem(config.id, 1, config.pos)
doSetItemText(letter, config.text)
return TRUE
end
function onStepOut(cid, item, position, fromPosition)
doRemoveItem(getThingFromPos(config.pos).uid, 1)
return TRUE
end