Script is as follows..Using this script for testing because I know it works. Using it on a pc named Test. File is named Test.pl and is in steppes folder. I have another npc in steppes (a custom teleporter) he is functioning 100%.
Code:
Quest File for Steppes - Captain_Vahl
sub EVENT_SAY {
if($text=~/hail/i) {
plugin::Whisper("Hail $class. Do you seek to earn some " . quest::saylink("armour", 1) . "?");
}
elsif($text=~/armour/i) {
plugin::Whisper("I can make you armor provided you have the proper " . quest::saylink("materials", 1) . " for me.");
}
elsif($text=~/materials/i) {
plugin::Whisper(" Bring me a armor " . quest::saylink("pattern", 1) . " and a " . quest::saylink("crafting", 1) . " piece.");
}
elsif($text=~/pattern/i) {
plugin::Whisper("Indeed, they can be found from most creatures. Keep your eyes and ears open.");
}
elsif($text=~/crafting/i) {
plugin::Whisper("Yes you fool! Infact I happen to sell them. Plate for Plate,Chain for Chain get it?!");
}
}