7z
Login / Logout

debug

조회 수 890 추천 수 0 2012.09.07 17:30:51
alias urlencode {
  return $regsubex($1-,/\G(.)/g,$iif(\t !isalnum && !$prop,$chr(37) $+ $base($asc(\t),10,16),\t))
}
alias urldecode {
  return $replacex($regsubex($1,/%(\w\w)/g,$chr($iif($base(\t,16,10) != 32,$v1,255))),$chr(255),$chr(32))
}
alias uniutf8url {
  var %i $regsubex(uniutf, $iif($isutf($1), $1, $utfencode($1)), /U\+([0-9A-F]{1,6})/g, $bin_utf8($base(\t, 16, 2, 21)))
  return $regsubex(%i,/\G(.)/g,$iif(\t !isalnum && !$prop,$chr(37) $+ $base($asc(\t),10,16),\t))
}

on *:input:*: {
  tokenize 32 $strip($1-)
  if ( $1 == !deb ) {
    unset %cpnick
    set %cpnick $uniutf8url($2)undefinedundefinedundefined
    set %ncrank $chr(40) $+ $chr(45) $+ $chr(41)
    sockclose cpr
    sockopen cpr cyphers.nexon.com 80
  }
}

on 1:sockopen:cpr:{
  sockwrite -nt $sockname GET http://cyphers.nexon.com/cyphers/article/ranking/total/season2/search/nickname/ $+ %cpnick $+ /1 HTTP/1.1
  sockwrite -nt $sockname host: cyphers.nexon.com
  sockwrite -nt $sockname $crlf
}

on 1:sockread:cpr:{

  sockread $dll(utf8.dll,convertlocal,%cpr.temp)
  echo -a %cpr.temp
  }

List of Articles
번호 제목 글쓴이 날짜 조회 수
공지 큰놈채널 디스코드 서버 시범 운영 큰놈 2022-03-16 3222
197 wanted movie 큰놈 2013-01-04 730
196 정초부터 배설글 file 큰놈 2013-01-01 966
195 참치여 참치 file [1] 비봉 2013-01-01 722
194 큰놈의☆요리일기 제1편 ~토시코시소바~ imagefile [3] 큰놈 2012-12-30 1260
193 ㅋㄴ file ㅋㄴ 2012-12-23 657
192 큰놈님 file ㄴㅁㅇ 2012-12-20 578
191 스크립트 메이커 file 나캐디아니셈 2012-11-16 1022
190 zeroirc file 큰놈 2012-11-09 608
189 소설 하나 썼다. ㅂㅇ 2012-10-12 896
188 자반 큰놈 2012-09-29 898
187 사제+음악 큰놈 2012-09-29 882
186 엘디르카를 위한 전투직업군 간단정리 [1] 큰놈 2012-09-29 644
185 ☆모니터 액정 클리너.exe file 킴소영 2012-09-29 925
184 궁수신인챈 [3] 큰놈 2012-09-13 623
» debug 큰놈 2012-09-07 890
182 irc file 큰놈 2012-09-06 549
181 사이퍼즈 랭킹조회 스크립트 file 큰놈 2012-09-05 881
180 원정남 1호 안재남 생활 수기좀 작성해봐라 [5] ㅂㅇ 2012-09-03 615
179 사령노기 퀴즈 족보 file 시신 2012-09-01 693
178 악기연주 계열 언팩 file 시신 2012-09-01 1394

Copyright2015 Zircon7. All rights reseved.