on *:TEXT:!song:#: up set %chan $chan alias up { sockopen up matt-henty.co.uk 80 set %chan $chan } on *:SOCKOPEN:up: { /sockwrite -nt $sockname GET /sam/playing.html HTTP/1.1 /sockwrite -nt $sockname Host: matt-henty.co.uk /sockwrite -nt $sockname $crlf } on *:SOCKREAD:up: { if ($sockerr) { msg %chan Error while reading sock. ( $+ $sockerr $+ ) halt } else { set %read | sockread %read if (