Hello it's me again
I cannot find a solution for this problem (I'm newbie), i want to make variable number of items to exchange for 1 points..
es: exchange 2 poring coins for 1 cash point.
script:
I cannot find a solution for this problem (I'm newbie), i want to make variable number of items to exchange for 1 points..
es: exchange 2 poring coins for 1 cash point.
script:
Code:
mes @npcname$;
mes "How many points would you like to exchange?";
next;
input @cantidad;
mes @npcname$;
mes " [^F79F81"+@cantidad+"^000000] ^F79F81PC^000000 Is that okay?";
next;
menu "Yes",-,"No",L_Cancel;
if ( countitem(7539) < @cantidad) goto L_NoPC;
delitem 7539,@cantidad;
set #CASHPOINTS, #CASHPOINTS + @cantidad;
mes @npcname$;
mes "Alright, here you go! Let me know if you need my services again!";
close2;
cutin "",255;
end;