I've looked over the tutorials and tried to make one.. I've come up with this but when I type /playing nothing happens..
alias Playing sockopen Playing
www.runescape.com 80
on *:sockopen:Playing:{
sockwrite -n $sockname GET / HTTP/1.1
sockwrite -n $sockname Host:
www.runescape.com $+ $crlf $+ $crlf
}
on *:sockread:Playing:{
if ($sockerr) {
echo -a Error.
halt
}
else {
var %temptext
sockread %temptext
if (<span style="font-size:14px; color:white;">There are currently * people playing! isin %temptext) { set %EK $htmlfree(%temptext) }
{ /msg #blehtesting %EK }
}
}
}
any thoughts?