Print one line in the log for each currently loaded script. If pat is specified, filter the list using pat as a case sensitive regex on script ID, file name and language (list only scripts that match with any of these fields).