theletterkay
New member
I'm looking to make a preascension buying script. I want it to check my inventory and if i have less than a certain number of an item, buy a certain number.
Example: (What I need)
3 Star Keylime pies
1 Pebblebrau
2 Pumpkin bombs
1 tropical ochid
I want it to check if i have any of the item, then buy up to the amount i want. IE: I have 1 star key lime pie, I want it to know to buy 2 more instead of just saying buy 3.
(No, this is not the complete list of items that I need, I can write it all myself. I just dont know how to state that in a form of a script that mafia can read.)
Example: (What I need)
3 Star Keylime pies
1 Pebblebrau
2 Pumpkin bombs
1 tropical ochid
I want it to check if i have any of the item, then buy up to the amount i want. IE: I have 1 star key lime pie, I want it to know to buy 2 more instead of just saying buy 3.
(No, this is not the complete list of items that I need, I can write it all myself. I just dont know how to state that in a form of a script that mafia can read.)