Kuraikiba Posted May 26, 2011 Share Posted May 26, 2011 I need a script that will give gold to the player once a day at 12 noon, provided the object the script is applied to is in the inventory. I also need it to randomize the amount from 1-100 gold. Would very much appreciate this. Link to comment Share on other sites More sharing options...
fg109 Posted May 26, 2011 Share Posted May 26, 2011 scriptname example short tempshort Begin GameMode if (GetContainer == Player) if (GameHour == 12 && tempshort == 0) set tempshort to GetRandomPercent Player.AddItem Gold01 tempshort endif endif if (GameHour != 12 && tempshort > 0) set tempshort to 0 endif End Link to comment Share on other sites More sharing options...
Kuraikiba Posted May 26, 2011 Author Share Posted May 26, 2011 Thank you very much! I quite desperately needed this script. Kudos! Link to comment Share on other sites More sharing options...
Recommended Posts