View Full Version : Random Numbers
Xothin
10-23-2004, 06:23 PM
Is there a way to randomly generate a number via a function? I haven't pored over the code in plugin.pl yet, but maybe I should.
If anyone knows, and I don't find the answer beforehand, I'd appreciate it. ^.^
Cisyouc
10-24-2004, 02:52 AM
http://www.eqemulator.net/forums/viewtopic.php?p=95744
See Charmy's reply.
Xothin
10-24-2004, 04:10 AM
Great! I wasn't sure if the rand() function was available to me. ^.^
Knowing that, I can do quite a bit.
fathernitwit
10-24-2004, 10:14 AM
basically any perl primitive function is avaliable... as long as you dont need a use; for it, it should work, and I would even bet that you could 'use' packages too.
Xothin
10-24-2004, 10:25 AM
I'm not much of a Perl scripter, most of my experience is in C++ and C#. So learning Perl functions is something new to me. ^.^
vBulletin® v3.8.11, Copyright ©2000-2024, vBulletin Solutions Inc.