Try this:
Code:
program:
status = $#fanficstatus;
tags = $tags;
if
status == 'Anthology'
then
tags = list_difference(tags, 'In-Progress,Complete', ',')
else
tags
fi
The problem in your code was this line:
Code:
strcat('In-Progress', 'Complete')
which returns a new string that is not present in your tags
Code:
In-ProgressComplete
Edit: strcat() is only needed if you are concatenating variables. If all you are using is plain text you can still use strcat(), but you do not need to.