View Single Post
  #6  
Old 08-25-2008, 05:45 PM
warsonofrage
Fire Beetle
 
Join Date: Mar 2003
Posts: 22
Default

aight ive got a problem....this quest shows as running fine in georges editor as well as in engin but the problem is every time the mob is hailed she says the first bit (fine) but then proceeds to spit out a section from the third piece of text as well. when the prompts are given to her she works just fine and dandy but...this ones bugging me because as near as i can tell the code is fine. do i need to add subevents or what?

btw how do you guys get that paste box to work

sub EVENT_SAY {

if ( $text =~ /Hail/i ) {
quest::say(
"What do you want, $name. The [spirits] told me of you coming.");
}

if ( $text =~ /spirits/i ) {
quest::say(
"The spirits are all that is left in this land. So many have [fallen] to the blight that the void has brought."
);
}

if ( $text =~ /fallen/i ) {
quest::say(
"When the gods rose up against the lesser races the magic they used began a slow destruction of the veil that separates us from the [void]."
);
}

if ( $text =~ /void/i ) {
quest::say(
"The void is the place beyond the world of the gods. Long ago Veeshan arose from the void to create Norrath and the lesser gods folowed her. When Norrath was young the veil was fomed to protect Norrath from the [darkness] within the void."
);
}

if ( $text =~ /darkness/i ) {
quest::say(
"Within the darkness lies the primordial forces from which creation itself spawned. All things both good and evil came from the void in the beginning but now a new darkness is coming forth. Horrors the likes of which even [Veeshan] has never see now soil the void."
);
}

if ( $text =~ /veeshan/i ) {
quest::say(
"Veeshan has grown silent to me I fear she has fallen to the darkness. After the destruction of Luclin she attempted to bring together the lesser races but was thwarted over and over by the other gods. When she sensed the void flowing through into Norrath she returned to learn why. The last sign of her presence left this world when her followers began to [die]."
);
}

if ( $text =~ /die/i ) {
quest::say(
"Months ago the followers of Veeshan began dieing of a strange wasteing illness. Darkness spread over there bodies until they became void creatures and attacked those around them. Something horrible has happened within the void and now I fear that Norrath will soon fall prey to it as well. Fairwell $name, return to me if you have news from afar. My spirits see only so far before they fear to go further."
);
}
}
Reply With Quote