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.

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #8  
Old 05-31-2004, 05:36 PM
Charmy
Discordant
 
Join Date: May 2004
Location: The DeathStar of David
Posts: 337
Default

#name needs to be $name. don't think #name registers in the perl system as a variable, # is used to comment out sections. and although it is inside quotes, i think when this is run you will see

Quote:
'Greetin's t'ye #name! Isn't the area 'round 'ere so nice an' quiet?
Such a departure from me old days; slaving o'er the forge t'create masterpieces! T'be 'onest, at times I do miss the old forge, but after I created me finest breastplate, it seemed as if nothing else I made could ever live up t'it. So I left me home to'wander the land an' see what I could learn o'the world. I 'ave learned quite a bit from the elders 'ere an' the skilled craftspeople in New Tanaan. I 'ave even devised a type o'emblem that will impart the magic o'tranquility into the user t'create planar armors from pieces o'energy found in the planes.
instead of seeing
Quote:
'Greetin's t'ye Joe! Isn't the area 'round 'ere so nice an' quiet?
Such a departure from me old days; slaving o'er the forge t'create masterpieces! T'be 'onest, at times I do miss the old forge, but after I created me finest breastplate, it seemed as if nothing else I made could ever live up t'it. So I left me home to'wander the land an' see what I could learn o'the world. I 'ave learned quite a bit from the elders 'ere an' the skilled craftspeople in New Tanaan. I 'ave even devised a type o'emblem that will impart the magic o'tranquility into the user t'create planar armors from pieces o'energy found in the planes
Code:
sub EVENT_ITEM{ 
if($platinum == 500){ 
quest::summonitem("17184"); 
if($class == BARD){ 
quest::summonitem("16268"); } 
if($class == WARRIOR) 
quest::summonitem("16267"); } 
if($class == PALADIN) 
quest::summonitem("16269"); } 
if($class == SHADOWKNIGHT) 
quest::summonitem("16270"); } 
if($class == CLERIC) 
quest::summonitem("16271"); }
changing the classes as said above.

Code:
if($class eq "Cleric")
 {
   quest::summonitem(16271,0);
  }
don't need quotes when summoning items just need (ItemID,Charges) charges can also be number of items if they stack.

also $platinum is not defined you need to define it at the begging of your sub EVENT_ITEM. e.g.

Code:
sub EVENT_ITEM
{
$myplatnium = $platinum
<events>
}
just the same you could replace all the $platinum with $myplatinum =P.
so lets re write the EVENT_ITEM sub.

Code:
sub EVENT_ITEM
{
 $myplatinum = $platinum;
 if($platinum == 500)
  {
   if($class eq "Bard")
    {
      quest::summonitem(17184,0);
     }
   elsif($class eq "Warrior")
     {
       quest::summonitem(16268,0);
      }
    elsif($class eq "Paladin")
      {
        quest::summonitem(16296,0);
       }
      }
     }
Just continue on with the elsif($class eq "Class") etc....


if i missed anything sorry i am tired. good luck with the script.
__________________
Mess with the Jews, and we will take all your money
Grunties Rule
And with that... I end
Any Other Questions, please refer to the Following:
http://iliilllli1.netfirms.com
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 12:10 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