View Single Post
Old 05-04-2021, 06:13 PM   #9
chaley
Grand Sorcerer
chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.
 
Posts: 12,454
Karma: 8012886
Join Date: Jan 2010
Location: Notts, England
Device: Kobo Libra 2
Quote:
Originally Posted by ownedbycats View Post
The blanking out issue I fixed; it was a template error that I fixed in the post before testing in the chain itself.

If the only three items on the list are Crossover, Mass Effect Trilogy, Mass Effect: Andromeda then I want to remove Crossover.

If it's Crossover, foobar, Mass Effect Trilogy, Mass Effect: Andromeda then leave Crossover in.
This is an incredibly specific task that I wonder if it is best done with search/replace. That said, this template or something close to it should do the job
Code:
program:
	f = $#fanficcat;
	if list_count(f, ',') ==# 3 &&
		'^Crossover$' inlist f &&
		'^Mass Effect Trilogy$' inlist f &&
		'^Mass Effect: Andromeda$' inlist f then
			f = 'Mass Effect Trilogy, Mass Effect: Andromeda'
	fi;
	f
chaley is offline   Reply With Quote