function onPrepareDeath(cid, deathList)
if isPlayer(cid) then
local config = {
local name = getPlayerName(cid)
local killer = getPlayerKiller(cid)
}
if getPlayerSlotItem(cid, 2).itemid == 2404 then
doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_ORANGE, getPlayerExperience(cid))
doRemoveConditions(cid, FALSE)
doSendMagicEffect(getCreaturePosition(cid), CONST_ME_HOLY)
doPlayerPopupFYI(cid, "You are dead, Youre (aol) will be removed!")
doBroadCastMessage(cid, ..name.. Did just die by ..killer..)
return FALSE
end
end
return TRUE
end