HI there and Welcome to HealingWell,
Im not really sure I understand what you mean by 'switching off to you'. Do you mean that you have seizures in front of friends and they ignore it? Or do you mean that they simply dont want to be your friend anymore because of your epilepsy?
I guess either way, they are not your friends if that is how they are thinking and I think you are probably better off without them. I can certainly relate to people discarding me as a friend because of my epilepsy. I hurt me a great deal to start with but I started thinking about it in a new way. You have to think... who is REALLY losing out? Are you losing out because your 'friend' doesnt like you anymore because they are being petty and shallow? Or are THEY losing out because they are losing someone who cares about them and is a true friend?
People are (generally) very ignorant of disorders which are 'invisible' (I.e. Things you cannot see on the outside) such as Epilepsy, Schizophrenia, Depression, Bi-Polar Disorder, Chrons etc... Your friends have 2 choices. They can either embrace the fact that they have a friend that can teach them something and have a stronger relationship because of that, or they can remain ignorant and end up losing out.
In regards to the immediate problem, try having a gentle word with them and see what the reaction is. Sometimes people do things unconciously and it might be that they dont even know they are doing it. Dont bottle it up as it eventually erupts as a volcano of abuse towards someone who probably doesnt deserve it... trust me, Iv'e been there! lol
We are always here if you need to talk
Darren