zarcath
05-11-2004, 05:01 PM
I redid a .qst file for an existing NPC Merchant for a quest. Here's the file...
EVENT_SAY {
if ($1- =~ "Hail") {
say(Hi $name, is there something I can help you with?');
}
if ($1- =~ "unhag") {
say(Ah. He must hav run out of my..."specialty" item. Honestly, he should show more restraint with it's use. Ahem, well, it's almost mealtime now, and being out in this cold, I need to keep the fat on. I suppose I could make the powder now, if you [can] get me something to eat.');
}
if ($1- =~ "can") {
say(Okay. I'll get to work on the powder now. I'm feeling mighty hungry today, so I'll need four servings. A girl's got to eat! Oh, and I'm partial to wolf meat.');
}
if ($1- =~ "problem") {
say(Well I became a merchant for profit mister. This ain't no charity house. If you want the new gloves, you'll have to do [something] for me.');
}
if ($1- =~ "something") {
say(Hehehe! Furs have been in demand lately and I need more for variety. Fetch me four pelts off the local Polar Bears and your master will get his gloves.');
}
EVENT_ITEM {
if ($itemcount(1019) > 3) {
say(Yum yum! Time to chow down. Oh the powder? Here you go.');
summonitem(20009,0);
faction(19,10);
exp(250);
}
if ($itemcount(20010) > 0) {
say(.Tore his gloves up huh? I figured this would happen again, so I made him another paid ahead of time. There's one [problem] though.');
}
if ($itemcount(1028) > 3) {
say(Here you go, as promised. I eagerly await our next meeting.');
summonitem(20011,0);
faction(19,10);
exp(250);
}
EVENT_ATTACK {
say(Guards! Guards!');
}
Server has been reset several times now and she won't respond to hails or key phrases. I'm not sure what the problem is.
-Z
EVENT_SAY {
if ($1- =~ "Hail") {
say(Hi $name, is there something I can help you with?');
}
if ($1- =~ "unhag") {
say(Ah. He must hav run out of my..."specialty" item. Honestly, he should show more restraint with it's use. Ahem, well, it's almost mealtime now, and being out in this cold, I need to keep the fat on. I suppose I could make the powder now, if you [can] get me something to eat.');
}
if ($1- =~ "can") {
say(Okay. I'll get to work on the powder now. I'm feeling mighty hungry today, so I'll need four servings. A girl's got to eat! Oh, and I'm partial to wolf meat.');
}
if ($1- =~ "problem") {
say(Well I became a merchant for profit mister. This ain't no charity house. If you want the new gloves, you'll have to do [something] for me.');
}
if ($1- =~ "something") {
say(Hehehe! Furs have been in demand lately and I need more for variety. Fetch me four pelts off the local Polar Bears and your master will get his gloves.');
}
EVENT_ITEM {
if ($itemcount(1019) > 3) {
say(Yum yum! Time to chow down. Oh the powder? Here you go.');
summonitem(20009,0);
faction(19,10);
exp(250);
}
if ($itemcount(20010) > 0) {
say(.Tore his gloves up huh? I figured this would happen again, so I made him another paid ahead of time. There's one [problem] though.');
}
if ($itemcount(1028) > 3) {
say(Here you go, as promised. I eagerly await our next meeting.');
summonitem(20011,0);
faction(19,10);
exp(250);
}
EVENT_ATTACK {
say(Guards! Guards!');
}
Server has been reset several times now and she won't respond to hails or key phrases. I'm not sure what the problem is.
-Z