We don't know how many medications actually function. We put them inside of increasingly complex animals and study the results to see what they do (and hope they don't die). Botox was intended to treat muscle spasms. Powerful anti-depressants are regularly prescribed for pain from nerve damage in people with no mental health issues. And MDMA isn't prescribed for anything because the powers that be prematurely decided to ban it based on completely fabricated claims, which I assume is part of a massive hundred-year conspiracy to make sure people... keep dying from alcohol? Not totally sure about that last one, but it's hard to deny the facts.