질문/답변
모르는건 물어보고, 아는건 답해주고. :)
질문전에 검색은 필수!
글 수 1,715
on *:sockopen:m4u: {
sockwrite -nt $sockname GET http://m4ucast.co.kr/@/zboard.php?id=z_request&page=1 HTTP/1.1
sockwrite -nt $sockname Host:m4ucast.co.kr
sockwrite -nt $sockname Connection: close
sockwrite -nt $sockname $crlf
}
on *:sockread:m4u: {
sockread %m4u_t
if (lines more isin %m4u_t) {
%m4u.title = $remove($gettok($gettok(%m4u_t,7,60),1,32),</span) $gettok($gettok(%m4u_t,2,62),1,60)
}
}
alias m4u.cast {
.set %chan $chan
sockclose m4u
sockopen m4u m4ucast.co.kr 80
msg #ukscript %m4u.title
}
하나의 게시글이 출력이 됩니다만..
어째 최근 게시글이 아닌 1페이지 마지막 게시글에 해당되는 글이 뽑아와지는데
위에꺼를 갖고와야되요 아래가 아니라..?
타이머로 해도 안되고 ..;;
뭐가 문제인지 모르겠네..-_-a;;;

lines more 는 해당소스에 하나만 있는게 아닙니다.
%m4u.title = $remove($gettok($gettok(%m4u_t,7,60),1,32),</span) $gettok($gettok(%m4u_t,2,62),1,60)
이부분 아래에
echo -a ok 라고 써보세요
ok가 하나만 찍힐까요?
각각에 해당 조건에 맞으니까 다음으로 넘어가면서 변수내용을 덮어 씌우는 겁니다.
그러니 마지막 line more에서 출력되는거구요
상위 3줄 출력
[필독] 신청곡 작성방법 및 금지어 + 윈앰프 청취방법(2010.5.1 수정)
[필독] m4u 쟈키별 방송 시작선
▶ ⓔⓝⓓ。━━━━━━━━━━━━━ 은효 ◀
해보세요
한 90% 다왔음