remove
quote:
Originally posted by stu
arrLyrics = GetAllLyrics();
Do not (re)create/(re)read the array each time you wanna change the PSM. The array should be created only
once,
outside of personalMessage()...
That's the major point I'm trying to make in all my posts...
Instead put that line in the initializing code of your script or in the part where the user activates the PSM changing for the first time (if that is still in the code).
PS: code:
// you're done: return the new lyric line
return arrPrevious[nUniqueness-2]
Debug.Trace(arrPrevious);
That debug line will never be executed since the function is ended before that line because of the statement 'return'.