code for keeping track of my extreme number of itch bundles scripts: * setup.tcl DB-PATH sets up a new database * import.tcl DB-PATH DATAFILE ?DATAFILE ...? loads the datafiles as formatted by misc/scripts.js into DB-PATH, ignoring existing urls * mark.tcl DB-PATH ?-force? ?-timestamp TIMESTAMP? GAMEURL ?GAMEURL ...? marks each GAMEURL as played on TIMESTAMP, or YYYYMMDD by default. will not overwrite an existing timestamp without -force * unmark.tcl DB-PATH GAMEURL ?GAMEURL ...? unmarks each GAMEURL, as if it were never marked * stats.tcl DB-PATH ?GAMEURL ...? if no GAMEURLs are present, prints database stats. otherwise, prints the played status of each GAMEURL * ignore.tcl DB-PATH GAMEURL ?GAMEURL ...? marks each GAMEURL to be ignored by stats.tcl * unignore.tcl DB-PATH GAMEURL ?GAMEURL ...? unmarks each GAMEURL to be ignored by stats.tcl * table.tcl DB-PATH generates an html file with game info * pick.tcl DB-PATH picks a random, unplayed, unignored game from the database