function onUse(cid, item, frompos, item2, topos)
player = getThingfromPos(playerpos)
newpos = {x=435, y=483, z=7}
playerpos = getPlayerPosition(cid)
if item.uid == 7659 then
doPlayerSendTextMessage(cid,22,"You are now a citizen of the town Nova.")
doPlayerSetTown(cid, TOWN ID)
doTeleportThing(cid,newpos)
doSendMagicEffect(playerpos,12)
end
end