This scoring script is supposed to work better than the default script. It works as follows:
NR = OR + REST * (PERCENTAGE-50)/150 * EXP(PC/50)
NR = the new score (0-100)
OR = the old score, 50 for new songs (0-100)
REST = the distance of the score to 0 or 100 (whatever is smaller) (0-50)
PERCENTAGE = percentage you listened of the song (0-100)
PC = How many times the song was played (0-inf)
If the song is within the 10s or 90s the score can only change by 1.