viewing paste Cash Point to Item | Athena

Posted on the
1 2 3 4 5 6 7 8 9 10 11 12 13
prontera,155,181,5  script  Sample#cashitem 757,{
.@item = 7179;
.@rate = 1;
 
mes "Exchange your "+( #CASHPOINTS )+" Cashpoint to "+( #CASHPOINTS * .@rate )+" x "+getitemname( .@item )+" ?";
if( #CASHPOINTS )
    if( select( "YES","Cancel" ) == 1 ){
        getitem .@item,( #CASHPOINTS * .@rate );
        #CASHPOINTS = 0;
        mes "Done";
    }
close;
}
Viewed 1308 times, submitted by Emistry.