Go Back   EQEmulator Home > EQEmulator Forums > Development > Development::Feature Requests

Development::Feature Requests Post suggestions/feature requests here.

Reply
 
Thread Tools Display Modes
  #1  
Old 10-27-2004, 02:42 PM
Sarepean
Discordant
 
Join Date: Sep 2004
Posts: 253
Default PERL Command request

I would like to request a quest::random() function. I'm imagining the use to be something like:

sub EVENT_ITEM
{
if($itemcount(xxx) == x)
{
quest::random(5);

---------------------------------------------------

and then some way of choosing what happens should a 1, 2, 3, 4, or a 5 be rolled.

I know little to nothing about PERL, and I probably need to learn some, but I figured I'd suggest this to the pros so that I have less of a chance of screwing it all up (I learned my lesson when Visual C++ kicked my ass in the 10th chapter).


BTW, I've been keeping up with the daily PERL compiles and I think you guys are doing a great job. I feel as if the emulated server is already able to do more than the Live server and I'm sure others probably feel the same way. Thanks. =)

-Sarepean
Reply With Quote
  #2  
Old 10-27-2004, 03:59 PM
animepimp
Dragon
 
Join Date: Jan 2004
Posts: 860
Default

Look in the quests forum. There is a random function built into perl that you can use. And a simple if statement lets you do different things for different numbers.
Reply With Quote
  #3  
Old 10-27-2004, 04:35 PM
mattmeck
Guest
 
Posts: n/a
Default

we have a gambler on S2K, pay some PP then guess a number, if its the number that the RAN function picked you win big.
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

   

All times are GMT -4. The time now is 06:21 AM.


 

Everquest is a registered trademark of Daybreak Game Company LLC.
EQEmulator is not associated or affiliated in any way with Daybreak Game Company LLC.
Except where otherwise noted, this site is licensed under a Creative Commons License.
       
Powered by vBulletin®, Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Template by Bluepearl Design and vBulletin Templates - Ver3.3