Guest User

Untitled

a guest
Feb 27th, 2017
29
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.47 KB | None | 0 0
  1. alias socktest {
  2. sockclose Deluge
  3. ;set %Test# $iif($chan,$chan,$nick)
  4. set %TestURL /profile/u/manish17
  5. sockopen Deluge www.delugerpg.com 80
  6. }
  7.  
  8. on *:SOCKOPEN:Deluge: {
  9. sockwrite -n Deluge GET %TestURL HTTP/1.1
  10. sockwrite -n Deluge Host: www.delugerpg.com
  11. sockwrite Deluge $crlf
  12. }
  13.  
  14. on *:SOCKREAD:Deluge: {
  15. sockread %Test
  16. while ($sockbr) {
  17.  
  18.  
  19.  
  20. echo %Test
  21. unset %Test*
  22. sockclose Deluge
  23. return
  24. }
  25. sockread %Deluge
  26.  
  27. }
Add Comment
Please, Sign In to add comment