7z
Login / Logout

scりpt

조회 수 680 추천 수 0 2012.07.31 20:19:22
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 == !네이버) {
    say $1-
    /msg $chan http://search.naver.com/search.naver?sm=tab_hty&where=nexearch&query= $+ $urlencode($2-)
    halt
  }
  elseif ($1 == !구글) {
    say $1-
    /msg $chan http://www.google.co.kr/search?complete=1&hl=ko&q= $+ $urlencode($2-)
    halt
  }
  elseif ($1 == !nic) {
    say $1-
    /msg $chan http://www.nicovideo.jp/search/ $+ $uniutf8url($2-)undefined
    halt
  }

  elseif ($1 == !nip) {
    say $1-
    /msg $chan https://nipponsei.minglong.org/index.php?section=Tracker&search= $+ $urlencode($2-)
    halt
  }
  elseif ($1 == !gel) {
    say $1-
    /msg $chan http://gelbooru.com/index.php?page=post&s=list&tags= $+ $urlencode($2-)
    halt
  }
  elseif ($1 == !tor) {
    say $1-
    /msg $chan http://www.tokyotosho.info/search.php?terms= $+ $urlencode($2-)
    halt
  }
  elseif ($1 == !ut) {
    say $1-
    /msg $chan http://www.youtube.com/results?search_query= $+ $uniutf8url($2-)undefined
    halt
  }
  elseif ( $1 == !dec ) {
    say $1-
    /msg $chan $urldecode($2-)
    halt
  }
  elseif ( $1 == !enc ) {
    say $1-
    /msg $chan $urlencode($2-)
    halt
  }


}

List of Articles
번호 제목 글쓴이 날짜 조회 수
공지 큰놈채널 디스코드 서버 시범 운영 큰놈 2022-03-16 3222
177 매직실드 4종수련 * 나비팩 file 시신 2012-09-01 1397
176 사령노기 친구추천작 스킬 50 시신 2012-08-26 837
175 사령노기 능력치딸 file [1] 시신 2012-08-24 723
174 마황 file 히롱 2012-08-22 755
173 미연시 실사판. ㅂㅇ 2012-08-22 859
172 map file 히롱 2012-08-20 534
171 너의 체리를 빨고싶어 file 2012-08-13 826
170 개명함 file 큰놈 2012-08-10 848
169 종자들 보거라 ㅈㅊ 2012-08-03 813
168 ㅂㅂㅂ file ㅈㅈ 2012-08-02 577
» scりpt 큰놈 2012-07-31 680
166 띠앙을위한것 file ㅈㅊㅅ 2012-07-09 756
165 상태스크립트 file [1] 큰놈 2012-06-23 649
164 이것이 네이버 도전망가 imagefile 비봉 2012-06-19 985
163 디아3 서버체크 스크립트 file 큰놈 2012-06-12 788
162 전역함 file 성우덕 2012-06-11 754
161 귀여운 여자애들 다섯이 나와서 춤추는데 안좋아하면 이상한거 아니냐. movie [1] ㄷㅇ 2012-05-28 663
160 마작한글판 file 큰놈 2012-05-25 1460
159 메텔의 기분 file ㅈㅊㅅ 2012-05-12 893
158 제작자료들 file 큰놈 2012-05-07 676

Copyright2015 Zircon7. All rights reseved.