Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- alias sprite {
- sockopen Veekun www.veekun.com 80
- set -l %poke $$1-
- }
- on *:sockopen:Veekun: {
- sockwrite -nt Veekun GET /dex/pokemon/ $+ %poke HTTP/1.0
- sockwrite -nt Veekun Host: www.veekun.com
- sockwrite -nt Veekun $crlf
- }
- on *:sockread:Veekun: {
- set -l %text
- sockread %text
- if (<title> $+ %poke*-*Pokémon*#*) iswm %text) {
- echo -a %text
- sockclose Veekun
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment