Quote:
Originally Posted by ownedbycats
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