![]() |
|
#10
|
|||
|
This double response is because the "small service" and "perform a small service" overlap.
I'm guessing the current code looks something like this (slightly altered from the peqquests-Rev1751 version by removing the ^ before small service and the $ after): Code:
if($text=~/small service/i){
quest::say("I am in need of pup and cub scaled wolf skins to create more [curscale armor]. Many Legionnaires have died in battle. The Baron demands more sssuits. I mussst have more ssskins or it is MY HIDE!! I shall reward pieces of the curscale armor to any who [perform a small service].");
}
#Gives the empty curscale pack.
if($text=~/perform a small service/i){
quest::say("Good. You take thisss pack and fill it all with scaled curskins. Only the pupsss and cubs of the scaled wolves shall do. They are not much for one sssuch as you. Combine all those ssskins and return the full curskin pack and I shall reward you with any available piece of curskin armor and a sssmall amount of coin. Mossst important is that you shall be proving your allegiance to all of Cabilisss.");
quest::summonitem(17992);
}
Code:
if($text=~/^small service$/i && $text!~/perform/i){
quest::say("I am in need of pup and cub scaled wolf skins to create more [curscale armor]. Many Legionnaires have died in battle. The Baron demands more sssuits. I mussst have more ssskins or it is MY HIDE!! I shall reward pieces of the curscale armor to any who [perform a small service].");
}
#Gives the empty curscale pack.
if($text=~/perform a small service/i){
quest::say("Good. You take thisss pack and fill it all with scaled curskins. Only the pupsss and cubs of the scaled wolves shall do. They are not much for one sssuch as you. Combine all those ssskins and return the full curskin pack and I shall reward you with any available piece of curskin armor and a sssmall amount of coin. Mossst important is that you shall be proving your allegiance to all of Cabilisss.");
quest::summonitem(17992);
}
[Mon Jan 17 16:10:14 2011] You say, 'Hail' [Mon Jan 17 16:10:14 2011] Klok Mugruk says, 'Welcome to my shop, sss. Only the finessst I have. I make for you jussst as I make for the emperor's harem. Many [bristle silk] garmentsss do they need. Ssss.. Lucky man, the emperor isss.' [Mon Jan 17 16:10:22 2011] You say, 'what bristle silk?' [Mon Jan 17 16:10:22 2011] Klok Mugruk says, 'What is bristle silk?!! Huh? Where have you been living? Under the rocksss.. Nahh. I sssee. You are a broodling from the common ssstock. You could never afford bristle silk nor the affectionss of those who drape themselves with it. Still, commons have much ssservice to offer. Maybe you would like to earn some [curscale armor]. Hmm?' [Mon Jan 17 16:10:45 2011] You say, 'what curscale armor?' [Mon Jan 17 16:10:45 2011] Klok Mugruk says, 'Curscale armor? I make thisss crude armor from the broodlings of the scaled wolves. I use the ssskins of the pupsss and cubs. Those ssskins are ssstill young and thin and are bessst for the young adventurers. I sssupply them to the Legion of Cabilisss, but for a [small service] I shall make them available to you.' [Mon Jan 17 16:11:01 2011] You say, 'what small service' [Mon Jan 17 16:11:01 2011] Klok Mugruk says, 'I am in need of pup and cub scaled wolf skins to create more [curscale armor]. Many Legionnaires have died in battle. The Baron demands more sssuits. I mussst have more ssskins or it is MY HIDE!! I shall reward pieces of the curscale armor to any who [perform a small service].' [Mon Jan 17 16:11:23 2011] You say, 'I will perform a small service' [Mon Jan 17 16:11:23 2011] Klok Mugruk says, 'I am in need of pup and cub scaled wolf skins to create more [curscale armor]. Many Legionnaires have died in battle. The Baron demands more sssuits. I mussst have more ssskins or it is MY HIDE!! I shall reward pieces of the curscale armor to any who [perform a small service].' [Mon Jan 17 16:11:23 2011] Klok Mugruk says, 'Good. You take thisss pack and fill it all with scaled curskins. Only the pupsss and cubs of the scaled wolves shall do. They are not much for one sssuch as you. Combine all those ssskins and return the full curskin pack and I shall reward you with any available piece of curskin armor and a sssmall amount of coin. Mossst important is that you shall be proving your allegiance to all of Cabilisss.' | ||
|
|
|||
|
|