Hey everyone I've been trying to work out this problem for a while but I can't seem to get it.
I'm writing a mIRC socket bot that connects to a URL, searches for certain text on the page, and upon finding the text, gives me the URL of the page it found the text on. However, the socket bot won't stay connected to the URL for the "on *:sockread..." code to take effect! Any help on why would be massively appreciated
Here's the code I've written so far. I haven't gotten round to writing the part that will search for text (not learned how to yet), but any help on that as well would be very helpful!!
Code:
alias -l htmlfree {
var %x, %i = $regsub($1-,/(^[^<]*>|<[^>]*>|<[^>]*$)/g,$null,%x), %x = $remove(%x, 
And the third, but non-scripting related problem, is that either you're pointing at the wrong host, or the page you're pointing at is only avaliable once you've logged in. Either way, the page returned is a 302 redirect to www.inselkampf.co.uk, as you can see: