alias -1 htmlfree { var %x = "", %i = $regsub($1-,/(^[^<]*>|<[^>]*>|<[^>]*$)/g,$null,%x), %x = $remove(%x, ) /msg #irune debug 1 return %x /msg #irune debug 2 } alias news sockclose news | sockopen news news.runescape.com 80 | msg #irune debug 3 on *:sockopen:news: { sockwrite -n $sockname Get /newsitem.ws?id=549 HTTP/1.1 /msg #irune debug 4 sockwrite -n $sockname Host: news.runescape.com $+ $crlf $+ $crlf /msg #irune debug 5 } on *:sockread:news: { if ($sockerr) { echo -a Error /msg #irune debug 6 halt } else { /msg #irune debug 7 sockread %temp /msg #irune debug 8 if (*news* iswm %temp) { /msg #irune debug 9 notice %nick $htmlfree(%temp) /msg #irune debug 10 (<---- line that is messed up) .timerSOCKET 1 1 sockclose news /msg #irune debug 9 } } } on *:sockclose:news: { } on *:text:!news:#: { set %nick $nick news }