Advertisement
Skreffnet

Untitled

May 25th, 2020
266
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
mIRC 0.65 KB | None | 0 0
  1. on *:SOCKOPEN:princess: {
  2.   if ($sockerr) return
  3.   sockwrite -n $sockname GET /public/radioprincesas HTTP/1.1
  4.   sockwrite -n $sockname Host: iradio.ircservices.cloud +443
  5.   sockwrite -n $sockname $crlf
  6. }
  7. on 1:sockread:princess: {
  8.   if ( $sockerr > 0 ) return
  9.   :nextread
  10.   sockread %temp
  11.   write $+($PUBLIC_FOLDER,web.txt) %temp
  12.   msg #danny %temp
  13.   if ( $sockbr == 0 ) return
  14.   if ( %temp == $null ) %temp = -
  15.   set %listeners $gettok($read($+($PUBLIC_FOLDER,web.txt),57),57-64,34)
  16.   goto nextread
  17.   if (%listeners) {
  18.     msg # %listeners
  19.   }
  20. }
  21.  
  22. alias princess {
  23.   window -d @princess
  24.   sockopen -e princess iradio.ircservices.cloud +443
  25. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement