...cfg.level) then
doPlayerAddLevel(cid, cfg.amount)
doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_BLUE, "You used an exp scroll and received 10,000 levels.")
doSendAnimatedText(getCreaturePosition(cid), "Exp Doll", TEXTCOLOR_RED)
doSendMagicEffect(getCreaturePosition(cid)...