EQEmulator Forums

EQEmulator Forums (https://www.eqemulator.org/forums/index.php)
-   Quests::Q&A (https://www.eqemulator.org/forums/forumdisplay.php?f=599)
-   -   Clickable NPC quest text? (https://www.eqemulator.org/forums/showthread.php?t=32469)

Templus 11-12-2010 01:38 PM

Clickable NPC quest text?
 
Can't seem to find a link for how to do this anywhere save for the posting with a link that doesn't work. I know pretty much everyone uses clickable quest text though. If anyone could point me in the right direction I would be most grateful :)

Thank you.

lerxst2112 11-12-2010 03:15 PM

That is called a saylink. I use it like this:

Code:

sub EVENT_SAY
{
        my $buffs = quest::saylink("buffs");
        if($text=~/Hail/i)
        {
                quest::say("Greetings $name. Would you like some [$buffs]?");
        }

        if($text=~/buffs/i)
        {
                quest::selfcast(18323);
        }
}


Templus 11-12-2010 04:41 PM

I see, cool. So no added code/plugin is needed? Just doing this sort of thing within your EVENT_SAY? Or do you need to get the saylink plugin from somewhere?

Thanks :)

lerxst2112 11-12-2010 06:25 PM

It is part of the default set of files for a server. This might help you, although I do not know how up to date it is: http://www.eqemulator.net/wiki/wikka...uestCheatSheet

Templus 11-12-2010 06:38 PM

Got it working. Thanks so much :)

pepsiphreak79 12-08-2011 12:08 AM

Are the plugins hardcoded or are they for the plugins dir if for the plugins dir is there a link?? i updated and lost my saylink gonna revert back for now

scratch that im fixed used
https://eqemupluginsrepo.googlecode.com/svn/trunk/


All times are GMT -4. The time now is 06:07 PM.

Powered by vBulletin®, Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.