Tegretol is my least favorite medication for myotonia just because it causes so many bad side effects. Muscle spasms is one of them. You have to withdraw slowly to avoid seizures.
You're not on any statin drugs, are you? Also insulin can aggravate myotonia. My mom used the slower release - I can't remember the name.
I get muscle cramps from calcium supplements. They are usually relieved with magnesium and a little extra salt.
A couple of other medications you can try are Lamotrigene and Flecainide. Also the amino acid L-Taurine can be effective for many people (2-3 grams per day).