Getting double response from NPC
So I wrote up a simple quest for one of my npcs modeled of another quest I know is working. And for whatever reason Im getting his first 2 lines of text upon hailing. All responses are working however. Any ideas how to fix this slight annoyance?
Code:
#Quest file for Mesa - Bridle Apprentice |
Is its name 'Bridle Apprentice'? If so, you're saying hail and bridle, $text=~/bridle/i checks the whole string for "bridle" and $text=~/hail/i checks the whole string, too. Due to them both being if conditionals it checks each of them individually rather than checking sequentially and stops when it find one. Maybe try this:
Code:
sub EVENT_SAY { |
flawless fix,ty sir.
|
You're welcome, here's a version with saylinks to keep people from spamming the chat.
Code:
sub EVENT_SAY { |
All times are GMT -4. The time now is 06:34 AM. |
Powered by vBulletin®, Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.