function onSay(cid, words, param)
local pos = {x=, y=, z=}
if getPlayerStorageValue(cid, ~~~~) == TRUE then
doTeleportPlayer(cid, pos)
else
doPlayerSendTextMessage(cid, 17, "Your are not VIP.")
end
return TRUE
end
but if he don't own any castle also need to tp him to the entrance of the castle ^^If they already own the house, you can use a teleport to house script.
http://otland.net/f81/teleport-your-house-command-186099/
http://otland.net/f132/teleport-your-house-77750/#post797565