Jump to content
  • 0

How to change to zeny to pods of this script


simplexjay2

Question


  • Group:  Members
  • Topic Count:  56
  • Topics Per Day:  0.01
  • Content Count:  224
  • Reputation:   4
  • Joined:  02/09/12
  • Last Seen:  

Quote

prontera,167,173,4    script    Zeny To Cash    894,{

    mes "[Zeny to Cash Exchanger]";
    mes "Exchange Rate:";
     mes "^0000FF170,000^000000 zeny = ^00FF001^000000 cash point";
    mes "Exchange^0000FF20^000000 cash points get free ^00FF001^000000 Kafra point";
    mes "Please select the service you want:";
    next;
    menu "^FF0000Exchange",Le0,"^0000FFCheck Cash Point",Edis2,"^00FF00Quit",LeEnd;
    
    Le0:
        set @bEavail,(Zeny/170000);
        mes "[Zeny to Cash Exchanger]";
        mes "^0000FF" + strcharinfo(0) + "^000000";
        mes "Available Cash Points to Exchange: ^0000FF" + @bEavail + "^000000";
        mes "How Many Cash Points you want to Exchange?";
        input @ExchangeEC;
        set @ttalEC,(@ExchangeEC*170000);
        if (Zeny < @ttalEC) goto ENeedZenys;
        mes "That will be ^0000FF" + @ttalEC + "^000000z!";
        next;
        mes "Do you still wanna Exchange Cash Points?";
        menu "^FF3355Exchange",LEyes,"Ive change my mind^000000",LEno;
        LEyes:
        set #CASHPOINTS,#CASHPOINTS+@ExchangeEC;
        set #KAFRAPOINTS,#KAFRAPOINTS+(#CASHPOINTS/20);
        set Zeny,zeny-@ttalEC;
        Set @CEx,#CASHPOINTS;
        Set @KEx,#KAFRAPOINTS;
        set #totalExchange,#totalExchange+@ExchangeEC;
        goto Edis2;
        close;
        LEno:
        mes "Thanks you ^0000FF" + strcharinfo(0) + "^000000!";
        mes "Come Again!";
        close;
    Edis2:
        mes "Your Available Cash Point ^0000FF" + @CEx + "^000000! ";
        mes "Your Available Kafra Point ^0000FF" + @KEx + "^000000! ";
        close;
        ENeedZenys:
            mes "Sorry, you don't have enough Zeny.";
            close;
    LeEnd:
        close;    


    OnInit:
    waitingroom "   Zeny To Cash",0;
    end;

}

I want to change this zeny to cash and kafra to zeny to pods and other ticket

Link to comment
Share on other sites

3 answers to this question

Recommended Posts

  • 0

  • Group:  Members
  • Topic Count:  61
  • Topics Per Day:  0.02
  • Content Count:  911
  • Reputation:   166
  • Joined:  11/27/14
  • Last Seen:  

On 6/24/2021 at 2:37 PM, simplexjay2 said:

I want to change this zeny to cash and kafra to zeny to pods and other ticket

Remove all "Set Points" and change it to getitem pods

prontera,x,y,3	script	Test	99{

mes "Hello"
Switch(select("Option 1","Option 2")){
	case 1:
			mes "This is Option 1";
			end;
	case 2:
			mes "This is Option 2";
			getitem 503,1; // This is the code for getting item
			end;
	}
	end;
}

 

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  56
  • Topics Per Day:  0.01
  • Content Count:  224
  • Reputation:   4
  • Joined:  02/09/12
  • Last Seen:  

On 6/24/2021 at 10:27 PM, Poring King said:

Remove all "Set Points" and change it to getitem pods

Can u help me SOrry noob in scripting

On 6/24/2021 at 10:36 PM, Poring King said:
prontera,x,y,3	script	Test	99{

mes "Hello"
Switch(select("Option 1","Option 2")){
	case 1:
			mes "This is Option 1";
			end;
	case 2:
			mes "This is Option 2";
			getitem 503,1; // This is the code for getting item
			end;
	}
	end;
}

 

oh yeah i understand how about if inputing how many to convert and every 10pods it will give additional ticket 

 

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  6
  • Topics Per Day:  0.00
  • Content Count:  439
  • Reputation:   29
  • Joined:  12/08/11
  • Last Seen:  

	input .@input;
	delitem 501, .@input; // delete/remove ticket
	getitem 502, .@input;

 

Edited by Magnetix
Link to comment
Share on other sites

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.

×
×
  • Create New...