Achei 2 na net,
Pra tFS 0.3.x, só pesquisar por SPELL UNSUMMON de Tibia que voce acha vários
function onCastSpell(cid, var)
if isMonster(variantToNumber(var)) then
if isSummon(variantToNumber(var)) and getCreatureMaster(variantToNumber(var)) == cid then
doRemoveCreature(variantToNumber(var))
else
doPlayerSendCancel(cid, "This spell only to use in your summons.")
return true
end
return true
else
doPlayerSendCancel(cid, "You only can use this rune on monsters.")
end
return true
end