Jump to content
  • 0

Exchanger script plz :D


Santafe

Question


  • Group:  Members
  • Topic Count:  91
  • Topics Per Day:  0.02
  • Content Count:  325
  • Reputation:   34
  • Joined:  06/01/13
  • Last Seen:  

Can any 1 provide me a exchange script which gives Cashpoints for emblem of sungod? Thx in advance :D

Link to comment
Share on other sites

2 answers to this question

Recommended Posts


  • Group:  Members
  • Topic Count:  153
  • Topics Per Day:  0.04
  • Content Count:  567
  • Reputation:   18
  • Joined:  04/15/13
  • Last Seen:  

Here Credits goes to Emistry :) 

prontera,155,181,5	script	Sample	757,{
setarray .@ItemID[0],<ItemID>,<ItemID2>;

for( set .@i,0; .@i < getarraysize( .@ItemID ); set .@i,.@i + 1 )
	set .@Menu$,.@Menu$ + getitemname( .@ItemID[.@i] )+":";
mes "Each 2 Cash Points.";
set .@i,( select( .@Menu$ ) - 1 );
if( #CASHPOINTS < 2 ){
	mes "Sorry but you didnt have 2 Cash Points.";
}else{
	mes "How many you want ?";
	mes "Amount : 1 ~ "+( #CASHPOINTS / 2 );
	input .@Amount,0,( #CASHPOINTS / 2 );
	if( .@Amount ){
		set #CASHPOINTS,#CASHPOINTS - ( .@Amount * 2 );
		getitem .@ItemID[.@i],.@Amount;
		mes "Done";
	}
}
close;
}
  • Upvote 1
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  91
  • Topics Per Day:  0.02
  • Content Count:  325
  • Reputation:   34
  • Joined:  06/01/13
  • Last Seen:  

Wow +1 thxx emistry and yoona :)

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