simple example script
Code:
alias heise {
  sockclose heise
  sockopen heise heise.de 80
}
on 1:sockopen:heise:{
; GET <url> HTTP/1.1
  sockwrite -n $sockname GET / HTTP/1.1        
  sockwrite -n $sockname Host: www.heise.de
  sockwrite -n $sockname $crlf
}
on 1:sockread:heise:{
  sockread %sockread
  echo %sockread
}


read through /help sockets to find out the rest