7z
Login / Logout

여기저기검색기

조회 수 2167 추천 수 0 2013.01.23 22:55:12
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 == !safe) {
    say $1-
    /msg $chan http://safebooru.org/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 == !skb) {
    say $1-
    /msg $chan http://sukebei.nyaa.eu/?page=search&cats=0_0&filter=0&term= $+ $uniutf8url($2-)undefined
    halt
  }
  elseif ($1 == !nya) {
    say $1-
    /msg $chan http://www.nyaa.eu/?page=search&cats=0_0&filter=0&term= $+ $uniutf8url($2-)undefined
    halt
  }
  elseif ($1 == !인챈) {
    say $1-
    /msg $chan http://mabinogi.gameabout.com/enchant/index.ga?kw= $+ $uniutf8url($2-)undefined
    halt
  }
  elseif ($1 == !엔하) {
    say $1-
    /msg $chan http://mirror.enha.kr/wiki/ $+ $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
217 사이퍼즈 킹오브파이터즈에 대하여. (kof) imagefile [1] 엘디르카 2013-07-04 978
216 ㅋ노무아일베하니 imagefile [1] 비봉 2013-06-25 693
215 블스수련표 file 큰놈 2013-06-20 876
214 요청하신 imagefile 비봉비 2013-06-20 881
213 분해방 file 기초딩 2013-06-15 904
212 황야의 무법자 imagefile [1] 니얼굴캐디 2013-06-06 750
211 전장자동수련 file [1] 큰놈 2013-05-26 1278
210 유키노 악보 file ㅈㅊㅅ 2013-05-18 922
209 천재를 이기는 방법 [1] ㅈㅊㅅ 2013-05-09 643
208 비봉님 주문하신 번역입니다 큰놈 2013-05-08 926
207 hesh file 2013-04-30 669
206 eer file wct 2013-04-26 615
205 최신맵 file 히롱 2013-02-24 903
204 이런게되네 movie 큰놈 2013-02-24 907
203 루나틱 file 히롱 2013-02-22 866
202 확밀아 브금 변경 file ㅅㅇ 2013-02-17 1229
201 남씨네 ~나랑께~ file 큰놈 2013-01-27 900
200 ㄷㅅ file 히롱 2013-01-24 734
» 여기저기검색기 큰놈 2013-01-23 2167
198 알브켈켄ㅁ movie 큰놈 2013-01-09 975

Copyright2015 Zircon7. All rights reseved.