viewing paste Unknown #17276 | Athena

Posted on the
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52
payoo,96,129,6  script  Reset Points    71,{
 
    .@ResetStat  = 5000;    // Zeny for stat reset
    .@ResetSkill = 5000;    // Zeny for skill reset
    .@ResetBoth  = 9000;    // Zeny for resetting both together
 
    mes "[Reset Points]";
    mes "I can reset your points for you.";
    mes "Reset Stats: "  + callfunc("F_InsertComma", .@ResetStat)  + "z";
    mes "Reset Skills: " + callfunc("F_InsertComma", .@ResetSkill) + "z";
    mes "Reset Both: "   + callfunc("F_InsertComma", .@ResetBoth)  + "z";
    mes "Please select the service you want:";
    next;
    switch(select("^FF3355Reset Skills:Reset Stats:Reset Both^000000:Cancel")) {
    case 1:
        mes "[Reset Girl]";
        if (Zeny < .@ResetSkill) {
            mes "Sorry, you don't have enough Zeny.";
            close;
        }
        Zeny -= .@ResetSkill;
        sc_end SC_ALL;
        resetskill;
        mes "There you go!";
        close;
    case 2:
        mes "[Reset Points]";
        if (Zeny < .@ResetStat) {
            mes "Sorry, you don't have enough Zeny.";
            close;
        }
        Zeny -= .@ResetStat;
        resetstatus;
        mes "There you go!";
        close;
    case 3:
        mes "[Reset Points]";
        if (Zeny < .@ResetBoth) {
            mes "Sorry, you don't have enough Zeny.";
            close;
        }
        Zeny -= .@ResetBoth;
        sc_end SC_ALL;
        resetskill;
        resetstatus;
        mes "There you go!";
        close;
    case 4:
        close;
    }
}
 
Viewed 602 times, submitted by Guest.