viewing paste Unknown #32770 | Athena

Posted on the
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16
-       script  ItemRevive      FAKE_NPC,{
OnPCDieEvent:
        if (countitem(.revitem) < .revitemamt) end;
        sleep2 1000;
        atcommand "@alive "+strcharinfo(0);
        dispbottom ""+.revitemamt+" "+getitemname(.revitem)+" has been consumed!";
        delitem .revitem,.revitemamt;
        end;
       
OnInit:
        // Set .revitem to any misc item you want, needed for you to revive
        // Set .revitemamt to the amount needed on your misc item
        .revitem = 7361;
        .revitemamt = 1;
        end;
}
Viewed 609 times, submitted by unknown.