hey i found this and it works great! (originally from How to EASILY get your MSL Code on Motorola Triumph - xda-developers)
I spent hours trying to get my MSL code. None of the methods I found really worked on the Motorola Triumph.
Eventually, I found my own method and it's way easier than any other method I've seen. You don't need to mod your phone in any way to get this working.
- Download and install aLogcat (free) from the Android Market.
- Run aLogcat and set it to filter for "sec_code"
- Go to your Phone apk and dial ##33284#
- When prompted for the MSL, type 000000.
- Now, go to aLogcat. It should have found a "sec_code:" line with your MSL code at the end of it. It's 6 digits.