Guest User

Untitled

a guest
Oct 17th, 2017
82
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
mIRC 0.96 KB | None | 0 0
  1. on *:sockread:fc:{
  2.   if ($sockerr) {
  3.     echo -a Error.
  4.     halt
  5.   }
  6.   else {
  7.     sockread -f %temptext
  8.     ;echo -a - %temptext
  9.     if (*Activity:* iswm %temptext) {
  10.       echo -a -
  11.       echo -a 1 $htmlfree(%temptext)
  12.       echo -a -
  13.       echo -a 2 %temptext
  14.       echo -a 3 $htmlfree($right(%temptext,22))
  15.       sockclose fc
  16.     }
  17.   }
  18. }
  19. alias htmlfree {
  20.   var %x, %i = $regsub($1-,/(^[^<]*>|<[^>]*>|<[^>]*$)/g,$null,%x), %x = $remove(%x,&nbsp;)
  21.   return %x
  22. }
  23. on *:sockopen:fc:{
  24.   sockwrite -nt $sockname GET /forums/member.php?username=clueless HTTP/1.1
  25.   sockwrite -nt $sockname Host: friendcodes.com
  26.   sockwrite -nt $sockname $crlf
  27.   ;set %data ?username=clueless HTTP/1.1
  28.   ;sockwrite -nt fc POST /forums/member.php?username= $+ %curnick HTTP/1.1
  29.   ;sockwrite -nt fc Host: friendcodes.com
  30.   ;sockwrite -nt fc Content-Type: application/x-www-form-urlencoded
  31.   ;sockwrite -nt fc Content-Length: $len(%data)
  32.   ;sockwrite -nt fc $crlf %data
  33. }
Add Comment
Please, Sign In to add comment