viewing paste Unknown #7188 | Athena

Posted on the
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18
prontera,155,181,5      script  Sample  757,{
if( BaseLevel <= 40 ) set .@cost,40000;
else if( BaseLevel <= 70 ) set .@cost,500000;
else if( BaseLevel <= 80 ) set .@cost,1000000;
else if( BaseLevel <= 90 ) set .@cost,2500000;
else if( BaseLevel <= 99 ) set .@cost,5000000;
 
if( Zeny < .@cost ){
        mes "You need "+.@cost+" to use my services.";
}else{
        set .@i,select( "Reset Status","Reset Skills","Both" );
        if( .@i & 1 ) resetstatus;
        if( .@i & 2 ) resetskill;
        mes "Done";
        set Zeny,Zeny - .@cost;
}
}
Viewed 663 times, submitted by Emistry.