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

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

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #4  
Old 01-11-2009, 01:51 PM
merb
Sarnak
 
Join Date: Jul 2005
Location: Ohio
Posts: 72
Default

Thanks guys, I never even gave that a thought :P

Switched it to look like this:

Code:
sub EVENT_SAY {

 if ($text=~/hail/i) {
   quest::say("Halt! It would not be wise to venture further alone. If you would like to hire one of my men to assist you, that could be arranged, for a [price].");
 }
 if ($text=~/price/i) {
   quest::say("A hefty sum of platinum will earn you my finest soldier; one thousand should do just fine.");
 }
}

sub EVENT_ITEM {

 if ($platinum==1000) {
   $client->MakePet(null, elfsoldier, "an elven soldier");
 }
}
Works like a charm!
__________________
Building Server
Legends of Time - Full Custom/Legit Roleplay, need devs

Last edited by Richardo; 01-23-2009 at 09:50 PM..
Reply With Quote
 


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 03:58 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