Hi, i'm hoping someone might be able to help me with because I don't think my problem can be solved using just the MVs engine commands.
So what I'm looking for is some script I can insert that checks the amount of each of the player's items between items 101 - 110, and after which it adds one more to the item that has the most. In the instance 2 or more items have the same amount it should randomly chose which one to add to.
There's another condition, if the player has x8 of an item it should not give anything and instead add to the item with the next highest amount. If the player has 8 of every item in this range, it should instead give 100 gold.
Finally a message should come up and say "You have been awarded [Item name here] / [100 gold]!"
If anyone can help with this, I'd be grateful!
So what I'm looking for is some script I can insert that checks the amount of each of the player's items between items 101 - 110, and after which it adds one more to the item that has the most. In the instance 2 or more items have the same amount it should randomly chose which one to add to.
There's another condition, if the player has x8 of an item it should not give anything and instead add to the item with the next highest amount. If the player has 8 of every item in this range, it should instead give 100 gold.
Finally a message should come up and say "You have been awarded [Item name here] / [100 gold]!"
If anyone can help with this, I'd be grateful!