Charmander

Untitled

Aug 15th, 2011
243
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.39 KB | None | 0 0
  1. alias sprite {
  2. sockopen Veekun www.veekun.com 80
  3. set -l %poke $$1-
  4. }
  5. on *:sockopen:Veekun: {
  6. sockwrite -nt Veekun GET /dex/pokemon/ $+ %poke HTTP/1.0
  7. sockwrite -nt Veekun Host: www.veekun.com
  8. sockwrite -nt Veekun $crlf
  9. }
  10. on *:sockread:Veekun: {
  11. set -l %text
  12. sockread %text
  13. if (<title> $+ %poke*-*Pokémon*#*) iswm %text) {
  14. echo -a %text
  15. sockclose Veekun
  16. }
  17. }
Advertisement
Add Comment
Please, Sign In to add comment