That works! I was able to combine two if-thens that returned the same value:
Code:
if
select($identifiers, 'url')
&& !'Anthology' in $#fanficstatus
then
if
$publisher == 'Archive of Our Own'
&& !select($identifiers, 'ao3')
then 'metadata.png'
elif
$publisher == 'FanFiction.net'
&& !select($identifiers, 'ffnet')
then 'metadata.png'
fi
fi,
into this:
Code:
if
select($identifiers, 'url')
&& !'Anthology' in $#fanficstatus
then
if
($publisher == 'Archive of Our Own'
&& !select($identifiers, 'ao3'))
||
($publisher == 'FanFiction.net'
&& !select($identifiers, 'ffnet'))
then 'metadata.png'
fi
fi,