Quote:
Originally Posted by chaley
I think you mean something like this:
Code:
program:
if
'(Archive of Our Own|Fanfiction.net)' in $publisher
&& '(Completed|Abandoned|Oneshot|Incomplete)' in status
then "metadata.png"
elif (!select(ids, 'ao3')
&& $publisher == 'Archive of Our Own'
&& status == 'In-Progress' )
||
(!select(ids, 'ffnet')
&& $publisher == 'FanFiction.net'
&& status == 'In-Progress')
then
"metadata.png"
fi
|
Thanks

Since both of them use in-progress I was able to reduce it a tiny bit more:
Code:
elif
(status == 'In-Progress' &&
(!select(ids, 'ao3') && $publisher == 'Archive of Our Own')
||
(!select(ids, 'ffnet') && $publisher == 'FanFiction.net')
)
then "metadata.png"