Imodium for IBS?

Will Imodium help my IBS diarrhea episodes? I just ran out of my Bentyl and couldn’t get an appointment until a few weeks and have been having awful attacks lately, will this help?