This might be also a interesting question:
@Daniel-Boese Something along the lines of should do:
Note that it doesn't do any error-checking or anything. Add error-checking and whatnot, however it suits your needs.
Thanks a ton reflashed and back to how I like my omega Oniony .. hahah
Looks like your connection to Onion Community was lost, please wait while we try to reconnect.