View Single Post
  #5  
Old 05-09-2006, 11:51 PM
Muuss
Dragon
 
Join Date: May 2003
Posts: 539
Default

Paaco forgot a brace at the event of the event_say (easy to see due to his good indentation).

Hamarabi, faction id comes from table 'faction_list', faction 10103 does not exists, the rest of your quest is working.
Indent your quests and never put closing braces at the end of the rows, put em alone in a row, so its easier to see what they close. Add comments for the items/factions id too, so you remember what you did :

Code:
sub EVENT_SAY { 
  if($text=~/Hail/i){
    quest::say("Brrrrrr!! Grr.. Grreetings. It is freezing out here!!"); 
  }
}

sub EVENT_ITEM {
  # 13241 :  Full Bottle of Elixir
  if ($itemcount{13241} == 1){
    quest::say("Thank you!  I think what's her name needs some too, she can be found.....");
    quest::exp(125);
    quest::faction(10103,1); # 10103 : Faction XY
    quest::summonitem(13241); # 13241 :  Full Bottle of Elixir
  } 
}

#END of FILE Zone:everfrost  ID:4881 -- Talin_ODonal
__________________
Muuss - [PEQGC] Dobl, the ogre that counts for 2 !
http://www.vilvert.fr/page.php?id=10
Reply With Quote