Modifying the topics hinted by Threaded Conversation?

I want to make Threaded Conversation play nice with Vorple; by this I mean that instead of simply listing the things I can tell / ask, I want to replace each topic with a link.

However, nothing I’ve tried seems to work – the text appears as text, rather than links.

Here’s an example game:

"Linkings"

Include Vorple Hyperlinks by Juhana Leinonen.
Include Threaded Conversation by Chris Conley.
Release along with the "Vorple" interpreter.

The Library is a room. "You see [x-pops] in the Library.".

Pops is a man in Library.
The description is "Ah, Pops, the old scoundrel...".
He is undescribed.

To say x-pops:
	place a link to command "greet pops" reading "Pops".

how he's is a questioning quip, quip-supplying Pops.
The printed name is "how he is". The true-name is "how he is".
Understand "how he is" as how he's.
The comment is "'How're ya, you old crook?'".
The reply is "'Not too shabby,' he replies.".

sports is a questioning quip, quip-supplying Pops.
It indirectly-follows how he's.
The comment is "'So, how bout them sports?'".
The reply is "'It sure is sporty, yeah.'".

good chat is an informative quip, quip-supplying Pops.
It indirectly-follows how he's.
The comment is "'Good chat, Pops.'".
The reply is "'Yeah.'".

[ THIS BIT WILL NOT WORK ]
Rule for listing plausible quips:
	repeat with item running through plausible quips:
		place a link to command "[item]" reading "[item]".

It compiles, I can click on Pops’ name to start chatting with him, I can type the keywords to chat with him, but the topics aren’t linked.

Any ideas?

Thanks in advance :slight_smile:

I’ve managed to hack something together, which works as expected:

"Linkings"

Include Vorple Hyperlinks by Juhana Leinonen.
Include Threaded Conversation by Chris Conley.
Release along with the "Vorple" interpreter.

The Library is a room. "You see [x-pops] in the Library.".

Pops is a man in Library.
The description is "Ah, Pops, the old scoundrel...".
He is undescribed.

To say x-pops:
	place a link to command "greet pops" reading "Pops".

how he's is a questioning quip, quip-supplying Pops.
The printed name is "how he is". The true-name is "how he is".
Understand "how he is" as how he's.
The comment is "'How're ya, you old crook?'".
The reply is "'Not too shabby,' he replies.".

sports is a questioning quip, quip-supplying Pops.
It indirectly-follows how he's.
The comment is "'So, how bout them sports?'".
The reply is "'It sure is sporty, yeah.'".

dance a bit is a performative quip, quip-supplying Pops.
It indirectly-follows how he's.
The comment is "You do a little dance.".
The reply is "Pops looks unipressed.".

good chat is an informative quip, quip-supplying Pops.
It indirectly-follows how he's.
The comment is "'Good chat, Pops.'".
The reply is "'Yeah.'".

This is the modified offer hint quips rule:
	if Vorple is supported and any quips are plausible::
		say "[quip-suggestion-phrase]:[line break]" ;
		open HTML tag "ul";
		repeat with item running through the plausible quips:
			open HTML tag "li";
			place link to command "[if item is a questioning quip]ask about [otherwise if item is an informative quip]tell about [end if][item]";
			close HTML tag;
		close HTML tag;
		stop the action;
	otherwise:
		carry out the listing plausible quips activity.

The modified offer hint quips rule is listed instead of the offer hint quips rule in the turn sequence rules.

I’ve found an even better solution (while investigating something else, obviously), here’s an updated version:

"Linkings V3"

Include Vorple Hyperlinks by Juhana Leinonen.
Include Threaded Conversation by Chris Conley.
Release along with the "Vorple" interpreter.

The Library is a room. "You see [x-pops] in the Library.".

Pops is a man in Library.
The description is "Ah, Pops, the old scoundrel...".
He is undescribed.

To say x-pops:
	place a link to command "greet pops" reading "Pops".

how he's is a questioning quip, quip-supplying Pops.
The printed name is "how he is". The true-name is "how he is".
Understand "how he is" as how he's.
The comment is "'How're ya, you old crook?'".
The reply is "'Not too shabby,' he replies.".

sports is a questioning quip, quip-supplying Pops.
It indirectly-follows how he's.
The comment is "'So, how bout them sports?'".
The reply is "'It sure is sporty, yeah.'".

dance a bit is a performative quip, quip-supplying Pops.
It indirectly-follows how he's.
The comment is "You do a little dance.".
The reply is "Pops looks unimpressed.".

good chat is an informative quip, quip-supplying Pops.
It indirectly-follows how he's.
The comment is "'Good chat, Pops.'".
The reply is "'Yeah.'".


Rule for printing the name of a plausible quip (called subject):
	let N be the printed name of subject;
	if subject is a questioning quip:
		place a link to command "ask about [N]" reading "[N]";
	otherwise if subject is an informative quip:
		place a link to command "tell about [N]" reading "[N]";
	otherwise:
		place a link to command "[N]".