I'm getting good! Hopefully I will make a good script that is actually USEFUL in the future, a bit more useful than this one though.
Suggestion: use the c++11 <random> library for better random number generation and uniformly distributed output for ranges. Here’s some documentation: http://www.cplusplus.com/reference/random/?kw=random
Please stop posting in the Announcements board. if you continue, there will be consequences