So sorry to hear of your pain. Where are the worms in your head and what are your symptoms? How did the doctor diagnose rope worms?
I have/had rope worms. I may have finally gotten rid of them in my colon. What was most effective for me was white vinegar enemas and Miracle-Mineral-Supplement enemas. The Miracle-Mineral-Supplement worked the best. You can find out how to do them from a book you can download free from cdautism dot org. Many are using this book even if they don't have autism. Kalcker's enema protocol is in the book.
Many speak of eucalyptus working for the colon and other parts of the body. Search Curezone for "eucalyptus rope worms".