The expectation is, once the given string (can be one or more words) is totally contained in any of the passages, list all the passages as links and let readers choose to quickly view details.
Right now I just have a prompt macro to accept the text from readers and then have it stored as below:
I can see 2 troubles here:
1. search and match $search in the story scope (i.e. all passages)
2. if #1 returns true, display all the passage names which contain $search
Unfortunately, I've no idea with both so currently have to just use goto $search to run if that exactly matches an existing passage.
Any helps or suggestions on this please ?
Right now I just have a prompt macro to accept the text from readers and then have it stored as below:
(set: $search to (prompt: "Please provide any key words you're looking for:"))
I can see 2 troubles here:
1. search and match $search in the story scope (i.e. all passages)
2. if #1 returns true, display all the passage names which contain $search
Unfortunately, I've no idea with both so currently have to just use goto $search to run if that exactly matches an existing passage.
Any helps or suggestions on this please ?