Jump to content
  • 0

Cash Point to Zeny


Question

Posted (edited)

how to make cash point to zeny?

and zeny to change point

Example:

1000 Cash Point > 10m Zeny

10m Zeny > 1000 Cash Point

Edited by Trandscend

8 answers to this question

Recommended Posts

Posted

if(#CASHPOINTS >= 1000) {

set Zeny,Zeny+10000000;

set #CASHPOINTS,#CASHPOINTS-1000;

}

if(Zeny >= 10000000) {

set Zeny,Zeny-10000000;

set #CASHPOINTS,#CASHPOINTS+1000;

}

  • Upvote 1
Posted (edited)

.

I actually want to use the input # CASHPOINTS;

Example:

Zeny;

input #CASHPOINTS;

if (-zeny > +#Cashpoints); <example ONLY

Points;

input #zeny;

if (#CASHPOINTS > +Zeny); <example ONLY

Can Someone Help Me?

Every 10m Zeny got 1k Cashpoint

Minimal Exchange 10m Up to Limited Cashpoints

Edited by Trandscend
Posted

PointToZeny:
dispbottom "You can get "+#CASHPOINTS*10000+" zeny";
mes "How Much Point you want to convert?";
mes "1 Point = 10k zeny";
input @ptc;
if (#CASHPOINTS >= @ptc){
set #CASHPOINTS,#CASHPOINTS-@ptc;
set zeny,zeny+@ptc*10000;
dispbottom "Current Points:"+#CASHPOINTS;
dispbottom "Current Zeny:"+zeny;
close;
}
else{
mes "You don't have enough cash points";
}
close;
ZenyToPoints:
dispbottom "You can get "+zeny/10000+" Points";
mes "How Much Point you want?";
mes "1 Point = 10k zeny";
input @ptc;
if (zeny >= @ptc*10000){
set #CASHPOINTS,#CASHPOINTS+@ptc;
set zeny,zeny-@ptc*10000;
dispbottom "Current Points:"+#CASHPOINTS;
dispbottom "Current Zeny:"+zeny;
close;
}
else{
mes "You don't have enough zeny";
}
close;

1 Point = 10k Zeny i.e 1000 Cash Point = 10m Zeny

  • Upvote 1
Posted (edited)

here's a rip script, i don't know if its work.. sorry for my noobish script :D

						  
set @minnumber,1;
set @maxnumber,10;
set @input, input(@number, @minnumber, @maxnumber);

mes "[Mr. Trader]";
mes "Please Input your desired points, the minimum is 1 and maximum is 10 points";
next;
mes "Do you want to trade?";
switch(select("Yes:Cancel:What is the convertion?")) {
case 1:
if(.@input == 1) {
set Zeny,Zeny+100;
set #CASHPOINTS,#CASHPOINTS-1;
}
if(.@input == 2) {
set Zeny,Zeny+200;
set #CASHPOINTS,#CASHPOINTS-2;
}
if(.@input == 3) {
set Zeny,Zeny+300;
set #CASHPOINTS,#CASHPOINTS-3;
}
if(.@input == 4) {
set Zeny,Zeny+400;
set #CASHPOINTS,#CASHPOINTS-4;
}
if(.@input == 5) {
set Zeny,Zeny+500;
set #CASHPOINTS,#CASHPOINTS-5;
}
if(.@input == 6) {
set Zeny,Zeny+600;
set #CASHPOINTS,#CASHPOINTS-6;
}
if(.@input == 7) {
set Zeny,Zeny+700;
set #CASHPOINTS,#CASHPOINTS-7;
}
if(.@input == 8) {
set Zeny,Zeny+800;
set #CASHPOINTS,#CASHPOINTS-8;
}
if(.@input == 9) {
set Zeny,Zeny+900;
set #CASHPOINTS,#CASHPOINTS-9;
}
if(.@input == 10) {
set Zeny,Zeny+1000;
set #CASHPOINTS,#CASHPOINTS-10;
}
close;

case 2:
mes "Come back again.";
close;
case 3:
mes "[Mr. Trader]";
mes "Here is the convertion.";
mes "1 Point = 100z.";
close;
}

Dastgir script is better :D

- sorry for my noobish script :D

Edited by GM Takumirai
  • Upvote 1

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...