View Full Version : Clickable NPC quest text?
Templus
11-12-2010, 01:38 PM
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:
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.php?wakka=QuestCheatSheet
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/
vBulletin® v3.8.11, Copyright ©2000-2025, vBulletin Solutions Inc.