Go Back   EQEmulator Home > EQEmulator Forums > Quests > Quests::Completed

Quests::Completed This is where Completed quests are.

Reply
 
Thread Tools Display Modes
  #1  
Old 03-04-2008, 08:17 PM
AndMetal
Developer
 
Join Date: Mar 2007
Location: Ohio
Posts: 648
Default

Quote:
Originally Posted by shaznito View Post
ok this looks about right.
Code:
$random = quest::ChooseRandom(14010,13281,13280,14015);
Just one thing to add: you'll probably need to add the following for the reward to actually be given

Code:
quest::summonitem($random)
You may also want to use my with $random, so it doesn't affect any other scripts:

Code:
my $random = quest::ChooseRandom(14010,13281,13280,14015);
Other than that, looks good to me
__________________
GM-Impossible of 'A work in progress'
A non-legit PEQ DB server
How to create your own non-legit server

My Contributions to the Wiki
Reply With Quote
  #2  
Old 03-05-2008, 12:07 AM
cavedude's Avatar
cavedude
The PEQ Dude
 
Join Date: Apr 2003
Location: -
Posts: 1,988
Default

I normally use:
Code:
quest::summonitem(quest::ChooseRandom(14010,13281,13280,14015));
Simply because it's one line, without a need to declare a variable. My feeling is the fewer variables we have, the better off we are. Now, if the reward is going to appear multiple times, then yes use a variable. That's part of the reason why they exist, for the lazy coder
Reply With Quote
  #3  
Old 03-05-2008, 03:30 AM
shaznito
Sarnak
 
Join Date: Apr 2007
Posts: 35
Default

I was to tired to test this last night, and for some reason even if I wanted to I couldn't because blixkin entopop refuses to respond. Not sure why but oh well no matter I'll figure it out sooner or later.
Reply With Quote
  #4  
Old 03-05-2008, 04:41 AM
cavedude's Avatar
cavedude
The PEQ Dude
 
Join Date: Apr 2003
Location: -
Posts: 1,988
Default

You had a closing bracket in the wrong spot. It should have been after the item return plugin.
Reply With Quote
Reply

Thread Tools
Display Modes

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 07:57 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 - 2025, Jelsoft Enterprises Ltd.
Template by Bluepearl Design and vBulletin Templates - Ver3.3