Go Back   EQEmulator Home > EQEmulator Forums > Quests > Quests::Q&A

Quests::Q&A This is the quest support section

Reply
 
Thread Tools Display Modes
  #1  
Old 10-04-2004, 08:05 AM
sotonin
Demi-God
 
Join Date: May 2004
Posts: 1,177
Default

yep...

it would be very simple too. Read around there are plenty of posted code snippets for giving out items in quests.

I am not sure about a few things you are doing. For instance i have never checked versus race class etc. but i hear EQ is the proper way to do it instead of =

Code:
sub EVENT_SAY 
{ 
if($text=~/Hail/i){ 
quest::say("Greetings $name. Would you like me to craft some [armor] for you?");} 
if($text=~/Armor/i){ 
quest::say("Gimme a second here and I'll grab something I've had lying around.");} 
	if($race eq 'Dark Elf') {
		if($class eq 'Shadowknight'){ 
			quest::summonitem("19595") 
			quest::summonitem("19595")
			quest::summonitem("19597") 
			quest::summonitem("19592") 
			quest::summonitem("19593") 
			quest::summonitem("19594") 
			quest::summonitem("19596") 
			quest::summonitem("19598");
		}
	}
}
Also... i know the very first summonitem you have isnt going to work. dont know proper format i assume u are trying to summon 2 of them.. best way would probably to just take the ,2 off it and make 2 summonitems for it.
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:03 PM.


 

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