View Single Post
  #7  
Old 01-27-2022, 08:01 PM
jsr
Hill Giant
 
Join Date: Aug 2008
Location: melbourne
Posts: 188
Default

You can add a saylink like this (untested):

Code:
sub soulbinder_say {
	my $bind_your_soul = quest::saylink("bind your soul");
	my $text = shift;
	if($text=~/hail/i){
		quest::say("Greetings ${name} . When a hero of our world is slain their soul returns to the place it was last bound and the body is reincarnated. As a member of the Order of Eternity  it is my duty to " . $bind_your_soul . " to this location if that is your wish.");
	} elsif($text=~/bind your soul/i) {
	    quest::say("Binding your soul. You will return here when you die.");
	    quest::selfcast(2049);
	}
}
Reply With Quote