Pay attention, pleasePeke wrote:Maybe I'm Mistaking but I tried using OnTrackEnd and this should be getting if Last track on list check:
If ((SDB.Player.CurrentPlaylist.Count-1) = SDB.Player.CurrentSongIndex) and (Not SDB.Player.isShuffle) And (not SDB.Player.isRepeat) Then

Anyway, I think it would be too much better for scripters if you MM developers implement something like OnTotalPlaybackEnd or something similar and I bet that it would be just 15 minutes of your work to implement something like that. Please, take a look at the code of this script - it is full of dirty and unnecessary code just because MM lacking of proper API.