Go Back   EQEmulator Home > EQEmulator Forums > Archives > Archive::Development > Archive::Quests

Archive::Quests Archive area for Quests's posts that were moved here after an inactivity period of 90 days.

Reply
 
Thread Tools Display Modes
  #1  
Old 08-08-2004, 07:04 AM
Cisyouc
Demi-God
 
Join Date: Jun 2004
Location: Heaven.
Posts: 1,260
Default

Code:
# perlQuest
#Quest by Cisyouc of Prexus II
sub EVENT_SAY
{
if($text=~/hail/i){quest::say("Greetings, $name. If you would run me a small task, I can teach you the [magics] of a $class.");}
if($text=~/magic/i){quest::say("You shall learn the Magics when I am comfortable, here. Bring me the dagger of thieves of North Freeport, and I should be ready.");}
if($text=~/just do it/i){quest::say("Now, now. No need to get testy. Here you are.");quest::scribespells();}
}
sub EVENT_ITEM
{
if($item1 == 1451){quest::say("Ahh, another fiend slain by the Heroes of Freeport. Thank you my friend, you are welcome here in Freeport.");quest::scribespells();}
}
Do NOT change this quest without trying it first (unless I made a syntax error I didn't catch) because the issue might be a buffer overrun on the server. Just a thought.
__________________
namespace retval { template <class T> class ReturnValueGen { private: T x; public: ReturnValueGen() { x = 0; }; T& Generator() { return x; }; }; } int main() { retval::ReturnValueGen<int> retvalue; return retvalue.Generator(); }
C++ is wonderful.
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 05:51 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