//then, to place that section of the archive on the html page, you'd make a div, and give that div a class name of whatever you've called that section of the archive in the first parameter.
//if you put anything in that div, the list of comics will get appended after it. i.e. you can put the title of that specific section as a header in that div.
writeArchive(
/*writeArchive(
"chrono",//class of the div that you want this section of the archive to appear in. to have it be on your html page, make an empty div with this class.
1,//earliest page to list
maxpg,//latest page to list. setting to maxpg will make it automatically update with the latest page
-1,//if set to 0, list is displayed "latest first". if set to -1, list is displayed chronologically
true,//if set to true, each comic will have its own thumbnail image next to it. if a comic doesn't have its own thumbnail, it'll be set to the default thumbnail.
0,//if set to 0, list is displayed "latest first". if set to -1, list is displayed chronologically
false,//if set to true, each comic will have its own thumbnail image next to it. if a comic doesn't have its own thumbnail, it'll be set to the default thumbnail.
true//if set to true, each comic will have a display number
writeArchive("chapter1",1,19,0,false,true)//writeArchive is for listing a RANGE of pages, take advantage of this by using headers to divide them into chapters or by month
writeArchive("chapter1",1,3,-1,false,true)//writeArchive is for listing a RANGE of pages, take advantage of this by using headers to divide them into chapters or by month