Code:
program:
if field('#readorder') then
template('Reading List: {#readorder} #{#readorder_index:0>2s}')
else
if field('#fanficcat') then
template('{#fanficcat:'sublist(list_sort($, 0, ','), 0,1,',')'} | {#fanficstatus}')
fi
fi
Gives me a "Missing closing parenthesis near 'sublist'" error. I tried adding one in a few places where I thought they might belong but it didn't go away. did I make a mistake of placing it?