<item id="2173" article="an" name="amulet of loss">
<attribute key="weight" value="420" />
<attribute key="slotType" value="necklace" />
<attribute key="charges" value="1" />
<attribute key="preventDrop" value="1" />
</item>
<item id="YOUR NECKLACE ID" article="an" name="FOREVER AOL">
<attribute key="weight" value="420" />
<attribute key="slotType" value="necklace" />
<attribute key="charges" value="999999999" />
<attribute key="preventDrop" value="1" />
function onDeath(cid, corpse, deathlist)
if getCreatureSkullType(cid) <= 5 and getPlayerSlotItem(cid, CONST_SLOT_NECKLACE).itemid == 2196 then
doCreatureSetDropLoot(cid, false)
doSendMagicEffect(getCreaturePosition(cid), CONST_ME_HOLYAREA)
doCreatureSay(cid, "Forever Aol!! !", TALKTYPE_ORANGE_1)
end
return true
end
if getCreatureSkullType(cid) <= 5
if getCreatureSkullType(cid) <= 2
<event type="death" name="Forever Aol" event="script" value="forever aol.lua"/>
registerCreatureEvent(cid, "Forever Aol")