All pastes #468002 Raw Edit

Someone

public text v1 · immutable
·published 2007-05-02 20:55 UTC
rendered paste body
alias test1 {
  sockopen hi www.irctutorials.com 80
}
on *:SOCKOPEN:hi: {
  sockwrite -n $sockname GET /tester.html HTTP/1.1
  sockwrite -n $sockname Host: www.irctutorials.com
  sockwrite -n $sockname $crlf
}
on *:SOCKREAD:hi: {
  sockread %VAR
  echo -a %VAR
}