I need a spell that looks something like this.
local target = getPlayerByNameWildcard(param)
function onCastSpell(cid, var)
if(param == '') and (not getTileInfo(fromPosition).protection) then
doTeleportThing(cid, target) else
doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_BLUE, "Cant...