function onUse(cid, item, fromPosition, itemEx, toPosition)
ifitem.itemid == <shield id> then
if get PlayerLevel (cid) >=50 then
doCreatureAddHealth(cid,<your amount of hp)
doPlayerSendTextMessage (cid,21,"Your now Protected")
else doPlayerSendCancel (cid,"You don't have the required level.")
end
elseif item.itemid == <shieldid> then
if get PlayerLevel (cid 21,You are not blessed with this shield for MAX hp)
end
end
return true
end