diff --git a/ksmplayedsongs.nim b/ksmplayedsongs.nim index d5c6ec4..2cd333a 100644 --- a/ksmplayedsongs.nim +++ b/ksmplayedsongs.nim @@ -2,6 +2,11 @@ import os echo("Input KSM directory") let mainDir: string = readLine(stdin) +var playerName: string = "" +echo("If your ingame player name is not 'PLAYER' enter it now (otherwise press enter)") +playerName = readLine(stdin) +if playerName == "": + playerName = "PLAYER" let userDir: string = mainDir & DirSep & "score" & DirSep & "PLAYER" let outFileName: string = mainDir & DirSep & "songs" & DirSep & "Played.fav" var f: File