View Single Post
  #4  
Old 01-11-2012, 06:34 AM
trevius's Avatar
trevius
Developer
 
Join Date: Aug 2006
Location: USA
Posts: 5,946
Default

If you have the right plugin, you can also do:

my $randomnum = plugin::RandomRange(5, 15);

It makes it a bit easier to get a random number within a range that doesn't start at 0.
__________________
Trevazar/Trevius Owner of: Storm Haven
Everquest Emulator FAQ (Frequently Asked Questions) - Read It!
Reply With Quote