need some help plz - 29/03/06 02:32 AM
well i am the kind of person that needs guidding through something so can some1 tell me if this is even close to being right so far, i dont want some1 to give me the script but to tell me if what i am doing is right:
/sockopen hpcomp runescape.com 80
on *:sockopen:hpcomp:{
sockwrite -n $sockname GET /lang/en/aff/runescape/hiscorepersonal.ws?user1= HTTP/1.1
sockwrite -n $sockname Host: runescape.com $+ $crlf $+ $crlf
}
on *:sockread:hpcomp:{
if ($sockerr) {
echo -a Error.
halt
}
else {
var %temptext
sockread %temptext
; handling here
}
}
i forgot to add that this is going to call the hp stats from runescape.com
/sockopen hpcomp runescape.com 80
on *:sockopen:hpcomp:{
sockwrite -n $sockname GET /lang/en/aff/runescape/hiscorepersonal.ws?user1= HTTP/1.1
sockwrite -n $sockname Host: runescape.com $+ $crlf $+ $crlf
}
on *:sockread:hpcomp:{
if ($sockerr) {
echo -a Error.
halt
}
else {
var %temptext
sockread %temptext
; handling here
}
}
i forgot to add that this is going to call the hp stats from runescape.com