Convert Diamonds Command

Rystbo

-Hotel Owner, -Customs Developer, -Arcturus
Apr 16, 2018
390
200
Hello, I know there is a command to convert what ever furni you have in your hand into coins, can some one help me with setting up a convert to diamonds command. In other words, say a user buys an item worth 5 diamonds but than decides they dont want it, they do :convert diamonds and then it converts it back to diamonds.
 

Rystbo

-Hotel Owner, -Customs Developer, -Arcturus
Apr 16, 2018
390
200
Maybe this can help

That isnt quiet what im looking for because i want to keep my exchange_credits command.
What im looking for is a command for plus r2 that basically if a user has an item they bought with diamonds, they can convert it back to diamonds.
 

CXS7OM

New Member
Aug 12, 2017
23
12
You have to log the purchases in order to do something like that.
Then just make a function that checks those purchases with a currency type difference and remove the items and send the currencies packet / update currencies.
 

Users who are viewing this thread

Top