Can anyone write me a quick little script? It'll be an on-pickup item script where link will be awarded a random number of rupees between two definable values. I have an item in my quest that looks like a little bag of money (i.e. like the item in Skyrim).

Higher amounts should be rarer of course. For instance, getting anywhere from 5-20 rupees should happen like 80% of the time. getting 21-50 rupees should occur 10% of the time. Getting 50-99 rupees should occur 5% of the time, and getting an even 100 should occur 1% of the time. Getting 0-4 rupees should happen 4% of the time.

Just a rough guideline. you may implement this however you wish but the bottom line: on item pickup, random amount of rupees is given, with higher values being rarer.