I don't know how he got adderall, but modafinal and the other drugs he mentioned are either schedule IV to Rx Only, so if you ask a pharmacist nicely they can give it to you. (That's how I got modafinil when I was in college)
Can you elaborate? I worked as a pharmacy tech when I was younger and never saw drugs dispensed without a prescription from a doctor. I also can't find anything on the web about this being possible in the U.S.