Guest User

Untitled

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