Baclofen
"I have extensive nerve damage in my spinal cord and was prescribed baclofen for spasms. It works great on the spasms however, I can take the prescribed dose and when I run out of vicodin then it causes me restless leg syndrome so be careful if you're also on opioids and run out. For cramps in the legs it is great though."