View Single Post
Old 05-10-2021, 07:05 PM   #99
ownedbycats
Custom User Title
ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.
 
ownedbycats's Avatar
 
Posts: 11,104
Karma: 76037135
Join Date: Oct 2018
Location: Canada
Device: Kobo Libra H2O, formerly Aura HD
To work around another FanFicFare issue, I want to make a template that removes either 'In-Progress' or 'Complete' from tags if #fanficstatus is 'Anthology.'

Code:
program:
	status = $#fanficstatus;
	tags = $tags;
	
	if 
		status == 'Anthology'
	then
		tags = list_difference(tags, strcat('In-Progress', 'Complete'), ',')		
	else
		tags
	fi
This just returned the original list. Should I have used something other than list_difference?

Last edited by ownedbycats; 05-10-2021 at 07:08 PM.
ownedbycats is online now   Reply With Quote