Code:
if (c.myShopId == 21) {
c.sendMessage(c.getItems().getItemName(removeId)+": currently costs " + getSpecialItemValue(removeId) + " PVP points.");
return;
}
looks like it's giving you the cost of the item in shop.
Code:
if (ShopValue >= 1000 && ShopValue < 1000000) {
ShopAdd = " (" + (ShopValue / 1000) + "K)";
} else if (ShopValue >= 1000000) {
ShopAdd = " (" + (ShopValue / 1000000) + " million)";
}
c.sendMessage(c.getItems().getItemName(removeId)+": currently costs "+ShopValue+" coins"+ShopAdd);
}
If the value in the shop greater then 1k and les then 1M the shop add's the shop value and divides it by 1000 else if the shop value is greater than or equal to 1m the shop will add the value and divide it by 1M, giving you the current cost of that item.
I think.