Jump to content
  • 0

100 Cashpoints to 10 pods


caspa

Question


  • Group:  Members
  • Topic Count:  194
  • Topics Per Day:  0.04
  • Content Count:  499
  • Reputation:   3
  • Joined:  03/11/12
  • Last Seen:  

can i request an npc that exchange 100 cashpoints to 10 donations pods/TCG card, i dont want the normal way like settting a cashshop and selling the pods on it. i just kinda want it to be unique =D thx in advanced

Link to comment
Share on other sites

11 answers to this question

Recommended Posts

  • 1

  • Group:  Developer
  • Topic Count:  10
  • Topics Per Day:  0.00
  • Content Count:  2407
  • Reputation:   613
  • Joined:  07/05/12
  • Last Seen:  

prontera,155,155,4    script    Converter    83,{
   .@name$ ="[^FF0000Converter^000000]";

   mes .@name$;
   mes "Hello, 10 cashpoints is equals to 1 TCG.";
   mes "What would you like to do?";
   next;

   switch( select("Cash to TCG","TCG to Cash") ) {
       case 1:
           mes .@name$;
           mes "How many TCG(s) do you want?";
           input .@num;
           next;

           if( .@num <= 0 || #CASHPOINTS < .@num * 10 ) {
               mes .@name$;
               mes "Sorry, you don't have enough cashpoints!";
               close;
           }
           mes .@name$;
           mes "This will cost ^FF0000" +(.@num * 10)+ " cashpoints^000000.";
           next;

           if( select("Proceed:Nevermind") -1 ) {
               mes .@name$;
               mes "Goodbye!";
               close;
           }
           set #CASHPOINTS, #CASHPOINTS - .@num * 10;
           dispbottom "Lost: " +(.@num * 10)+ " cashpoints. Total: " +#CASHPOINTS+" cashpoints.";
           getitem 7227, .@num;
           break;

       case 2:
           mes .@name$;
           mes "How many TCG(s) will you give?";
           input .@num;
           next;

           if( .@num <= 0 || countitem(7227) < .@num ) {
               mes .@name$;
               mes "Sorry, you don't have enough TCG!";
               close;
           }
           mes .@name$;
           mes "I can give you ^FF0000" +(.@num * 10)+ " cashpoints^000000 for this.";
           next;

           if( select("Proceed:Nevermind") -1 ) {
               mes .@name$;
               mes "Goodbye!";
               close;
           }
           set #CASHPOINTS, #CASHPOINTS + .@num * 10;
           dispbottom "Gained: " +(.@num * 10)+ " cashpoints. Total: " +#CASHPOINTS+" cashpoints.";
           delitem 7227,.@num;
   }
   close;
}

  • Upvote 1
Link to comment
Share on other sites


  • Group:  Developer
  • Topic Count:  10
  • Topics Per Day:  0.00
  • Content Count:  2407
  • Reputation:   613
  • Joined:  07/05/12
  • Last Seen:  

i just kinda want it to be unique =D thx in advanced

Tell us what you think to be unique and we will do it for you ! ;)

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  194
  • Topics Per Day:  0.04
  • Content Count:  499
  • Reputation:   3
  • Joined:  03/11/12
  • Last Seen:  

thx ya'll

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  98
  • Topics Per Day:  0.02
  • Content Count:  1302
  • Reputation:   77
  • Joined:  12/04/12
  • Last Seen:  

there are error. how to fix it ?

Link to comment
Share on other sites


  • Group:  Developer
  • Topic Count:  10
  • Topics Per Day:  0.00
  • Content Count:  2407
  • Reputation:   613
  • Joined:  07/05/12
  • Last Seen:  

replace

mes "What would you like to do?

to

mes "What would you like to do?";

And

mes "Sorry, you don't have enough cashpoints!

to

mes "Sorry, you don't have enough cashpoints!";

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  98
  • Topics Per Day:  0.02
  • Content Count:  1302
  • Reputation:   77
  • Joined:  12/04/12
  • Last Seen:  

still error ;(

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  98
  • Topics Per Day:  0.02
  • Content Count:  1302
  • Reputation:   77
  • Joined:  12/04/12
  • Last Seen:  

prontera,155,155,4	script	Converter	83,{
.@name$ ="[^FF0000Converter^000000]";

mes .@name$;
mes "Hello, 10 cashpoints is equals to 1 TCG.";
mes "What would you like to do?";
next;

switch( select("Cash to TCG","TCG to Cash") ) {
	case 1:
		mes .@name$;
		mes "How many TCG(s) do you want?";
		input .@num;
		next;

		if( .@num <= 0 || #CASHPOINTS < .@num * 10 ) {
			mes .@name$;
			mes "Sorry, you don't have enough cashpoints!";
			close;
		}
		mes .@name$;
		mes "This will cost ^FF0000" +(.@num * 10)+ " cashpoints^000000.";
		next;

		if( select("Proceed:Nevermind") -1 ) {
			mes .@name$;
			mes "Goodbye!";
			close;
		}
		set #CASHPOINTS, #CASHPOINTS - .@num * 10;
		dispbottom "Lost: " +(.@num * 10)+ " cashpoints. Total: " +#CASHPOINTS+" cashpoints.";
		getitem 7227, .@num;
		break;

	case 2:
		mes .@name$;
		mes "How many TCG(s) will you give?";
		input .@num;
		next;

		if( .@num <= 0 || countitem(7227) < .@num ) {
			mes .@name$;
			mes "Sorry, you don't have enough TCG!";
			close;
		}
		mes .@name$;
		mes "I can give you ^FF0000" +(.@num * 10)+ " cashpoints^000000 for this.";
		next;

		if( select("Proceed:Nevermind") -1 ) {
			mes .@name$;
			mes "Goodbye!";
			close;
		}
		set #CASHPOINTS, #CASHPOINTS + .@num * 10;
		dispbottom "Gained: " +(.@num * 10)+ " cashpoints. Total: " +#CASHPOINTS+" cashpoints.";
		delitem 7227,.@num;
}
close;
}

thanks. problem fix :)

Link to comment
Share on other sites


  • Group:  Forum Moderator
  • Topic Count:  93
  • Topics Per Day:  0.02
  • Content Count:  10015
  • Reputation:   2348
  • Joined:  10/28/11
  • Last Seen:  


  • Group:  Members
  • Topic Count:  4
  • Topics Per Day:  0.00
  • Content Count:  47
  • Reputation:   0
  • Joined:  01/16/12
  • Last Seen:  

Sir Emistry.. how bout PODS to Cash Points?.. is it possible?.. cuz im lookin for a script like that.. havent seen a working script of pods to cashpoints exchanger.. 

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  0
  • Topics Per Day:  0
  • Content Count:  4
  • Reputation:   0
  • Joined:  09/30/13
  • Last Seen:  

@n0stalgic, just edit the item number of cash point and Proof of donation and you'll have your answer to those scripts.

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...