Emphasis on the "something like": there are several different drugs in this class (triptans), and it might take a couple of tries to get one that works for you.
Personally, sumatriptan doesn't work reliably, rizatriptan makes me feel super woozy, but eletriptan works well and without noticeable side effects.