How to Install a Script in InDesign That You Found in a Forum or Blog Post

If you find a script that is just text (not a downloadable file), how do you install it?