Mike, before you go randomly pouring meds into the tank please check the water.
First off do you know the pH and temp of your tank water and can you check for Ammonia, Nitrite and Nitrate? If you can post these parameters here and I can better advise on the situation.
From what you describe the guppies went into shock, so pH and Nitrate are first suspects - a water change will help, just make sure the new stuffs dechlorinated and a similar temp to what your taking out so you don't shock the fish with a big temp drop, adding Melafix imo would be a bad thing to do unless you know your fish are sick. Its a broad spectrum antibacterial tonic, quite crap at actually clearing up bacterial infections from my own use as well but either way stressed fish like stable clean water and adding an unnatural chemical will stress them more.