There are lots of drugs out there that can cause weight gain - I dispense them every day at work. Epilepsy drugs are most definitely on the list. It might not affect everyone, but weight gain is one of the side effects.
I'm for doing it the good old fashioned way with clean diet and exercise, but sometimes weight loss medication can be a good thing to start with. Orlistat (Alli, over the counter, or Xenical on prescription) disables a certain percentage of the enzyme that breaks down fat during digestion. It therefore cannot be absorbed by the body and passes out naturally. Both Alli and Orlistat state that the medication is to be taken in conjuntion to a low fat diet, and they encourage you to be more active. For every two pounds you lose this medication should help you lose another one pound.
This drug is a motivator, but also necessary for some people who quite urgently need to lose weight for health reasons. The negative side effects, like never getting off the toilet, only happens if you exceed 19g fat in a meal. It is chemically impossible, unless you are one of those rare rare individuals with an allergy to the drug, to get this side effect unless you have eaten too much fat. Those who say they eat a salad and a chicken breast then get the runs are not being truthful about their fat consumption.
Another drug people use is called Sibutramine (Reductil). We give this out less than Orlistat, and deals more with chemicals in the brain so I wouldn't bother with it.
If you have to go for one, go for Orlistat, assuming your GP goes through everything thoroughly with you and it is ok with any other medical conditions you may have. And make sure you adhere to the rules taking it lol!