It generates an event setlist from artist relationships (main performers + hosts), time is required.
Note that if two artists perform together it’ll add one line per artist.
The “all night”-option is for events that run past midnight, to prevent 00:00 from sorting before 23:00.
I have only tested it on Firefox+Greasemonkey, so please let me know if you run into any issues
Consider submitting it via a pull request to https://github.com/murdos/musicbrainz-userscripts/ which is more or less the de facto central MusicBrainz userscript hub. (And if you do, and even if you don’t, you should probably release it under a license, or explicitly state that all rights are reserved, just so there’s no ambiguity.)