Or at least that is what I think it is called.....
I want to write one line of code that chooses to which function or line of code to use based on if the book is a series or a stand along book based on a mass save to disk.
The lines I want to combine with a either or type of code is the following:
series/{series:sublist(0,1,

}/{series:sublist(0,2,

}/{series:sublist(2,4,

}/{series_index:0>3s} - {title}/{author_sort:sublist(0,1,&)} - {series} - {series_index:0>3s} - {title}
or
single books/{author_sort[0]}/{author_sort:sublist(0,1,&)}/{title}/{author_sort} - {title}
I think an if/then type of combination would work but everything I have tried has caused errors or the output is not where or how I want it to go.
any help from those who know this coding better would be greatly appreciated.
Thank
Bulldogmo