So that's always in my drug cabinet now so that I won't have that situation again.
The chemistry part of it is neat:
> It is an opioid with no significant absorption from the gut and does not cross the blood–brain barrier when used at normal doses.
The "morphine giving you constipation" thing... this is the same, except that's all it does.
I'll also note the WHO Model List of Essential Medicines - https://en.wikipedia.org/wiki/WHO_Model_List_of_Essential_Me... - its under "Medicines for other common symptoms in palliative care" as Loperamide.
The most intuitive is prolonged use can stop all waste leaving your system for a while. As you can imagine, when the system finally starts going again it's initially uncomfortable, and can also be long-term damaging.
> The primary intent of users has been to manage symptoms of opioid withdrawal such as diarrhea, although a small portion derive psychoactive effects at these higher doses. At these higher doses central nervous system penetration occurs and long term use may lead to tolerance, dependence, and withdrawal on abrupt cessation. Dubbing it "the poor man's methadone", clinicians warned that increased restrictions on the availability of prescription opioids passed in response to the opioid epidemic were prompting recreational users to turn to loperamide as an over-the-counter treatment for withdrawal symptoms.