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

Quests::Submissions This is where you submit your quests for review

Reply
 
Thread Tools Display Modes
  #1  
Old 10-10-2005, 08:35 AM
rickjames1234
Fire Beetle
 
Join Date: May 2005
Posts: 4
Default Selling your soul to the devil

This is just a little quest i thought of, not sure if i'm going to use it atm...i was just wondering should i have used seperate events for each class? or maybe seperate npcs? just learning perl so there might be a few errors.

****thanks****

Code:
sub EVENT_SAY
{
if($text=~/hail/i)
{ quest::say("What are you tired of your current proffession? We'll i can [help] change that for you. All that I ask in return, is your soul."); }

{ 
if($text=~/help/i)
{ quest::say("Now tell me what class do you wish to become? [Warrior], [Cleric], [Paladin], [Ranger], [ShadowKnight], [Druid], [Monk], [Bard], [Rogue], [Shaman], [Necromancer], [Wizard], [Magician], [Enchanter], [Beastlord], or [Berserker]?"); }

{
if($text=~/Warrior/i)
{
quest::permaclass(1);
quest::rain(1);
quest::emote("Beams a smile at you!");
}


{
if($text=~/Cleric/i)
{
quest::permaclass(2);
quest::scribespells();
quest::rain(1);
quest::emote("Beams a smile at you!");
}


{
if($text=~/Paladin/i)
{
quest::permaclass(3);
quest::scribespells();
quest::rain(1);
quest::emote("Beams a smile at you!");
}

{
if($text=~/Ranger/i)
{
quest::permaclass(4);
quest::scribespells();
quest::rain(1);
quest::emote("Beams a smile at you!");
}

{
if($text=~/Shadowknight/i)
{
quest::permaclass(5);
quest::scribespells();
quest::rain(1);
quest::emote("Beams a smile at you!");
}

{
if($text=~/Druid/i)
{
quest::permaclass(6);
quest::scribespells();
quest::rain(1);
quest::emote("Beams a smile at you!");
}

{
if($text=~/Monk/i)
{
quest::permaclass(7);
quest::rain(1);
quest::emote("Beams a smile at you!");
}

{
if($text=~/Bard/i)
{
quest::permaclass(8);
quest::scribespells();
quest::rain(1);
quest::emote("Beams a smile at you!");
}

{
if($text=~/Rouge/i)
{
quest::permaclass(9);
quest::rain(1);
quest::emote("Beams a smile at you!");
}

{
if($text=~/Shaman/i)
{
quest::permaclass(10);
quest::scribespells();
quest::rain(1);
quest::emote("Beams a smile at you!");
}

{
if($text=~/Necromancer/i)
{
quest::permaclass(11);
quest::scribespells();
quest::rain(1);
quest::emote("Beams a smile at you!");
}

{
if($text=~/Wizard/i)
{
quest::permaclass(12);
quest::scribespells();
quest::rain(1);
quest::emote("Beams a smile at you!");
}

{
if($text=~/Magician/i)
{
quest::permaclass(13);
quest::scribespells();
quest::rain(1);
quest::emote("Beams a smile at you!");
}

{
if($text=~/Enchanter/i)
{
quest::permaclass(14);
quest::scribespells();
quest::rain(1);
quest::emote("Beams a smile at you!");
}

{
if($text=~/Beastlord/i)
{
quest::permaclass(15);
quest::scribespells();
quest::rain(1);
quest::emote("Beams a smile at you!");
}

{
if($text=~/Berserker/i)
{
quest::permaclass(16);
quest::rain(1);
quest::emote("Beams a smile at you!");
}
}
Reply With Quote
  #2  
Old 10-12-2005, 04:29 AM
sdabbs65
Dragon
 
Join Date: Dec 2003
Location: Earth
Posts: 818
Default error

quest::scribespells();

Im pretty sure this needs a value in it.

like this: quest::scribespells(70);

that results in scribeing to level 70.
__________________
hosting Eqemu/Runuo/wow Emulators.

www.cheaterz.info
Reply With Quote
  #3  
Old 10-12-2005, 06:55 AM
Belfedia
Demi-God
 
Join Date: Jan 2005
Posts: 1,109
Default

Command #scribespell need an argument like #scribespell (70)
But command for quest can work without. it have a number by default.
__________________
__________________________________________________ _____________________________________
I speak english like a spanish cow..., I speak spanish like a english pudding...
But I try to speak good french !!! (Non au langage SMS sur forum)
http://eqfroggy.new.fr : Froggy French Server Website.
Reply With Quote
  #4  
Old 10-13-2005, 02:49 AM
sdabbs65
Dragon
 
Join Date: Dec 2003
Location: Earth
Posts: 818
Default ?

Quote:
Originally Posted by Belfedia
Command #scribespell need an argument like #scribespell (70)
But command for quest can work without. it have a number by default.
oh i didnt know that hehe I been putting in a value all this time lol.
__________________
hosting Eqemu/Runuo/wow Emulators.

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