I made this a long time ago
PastebinControl
Just a template. This bit of AutoHotKey code downloads a raw pastebin using wget (UrlDownloadToFile doen't seem to work with pastebin) and reads the information in the file as a variable to be used to control the script.