Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- alias socks {
- sockopen Smogon smogon.com 80
- }
- on *:sockopen:Smogon: {
- sockwrite -nt Smogon GET /dp/pokemon/charmander HTTP/1.0
- sockwrite -nt Smogon Host: www.smogon.com
- sockwrite -nt Smogon $crlf
- }
- on *:sockread:Smogon: {
- var %text
- sockread %text
- }
Advertisement
Add Comment
Please, Sign In to add comment