Since i can't edit my last post here is what i've gotten up to:
on *:text:!sabdetails*:* {
%un = $2
/sockopen bot http://localhost:6080 6080
}
on *:sockopen:bot: {
sockwrite -n $sockname GET /s3h/getdetails.php?name=,%un
sockwrite -n $sockname Host: http://localhost:6080
sockwrite -n $sockname User-Agent: $version
sockwrite -n $sockname $crlf
}
on 1:sockread:bot: {
if ($sockerr > 0) return
:nextread
sockread %bot
if ($sockbr == 0) return
if (%bot == $null) %bot = -
if (Generated* iswm %bot) return
if (: isin %bot) echo -a $gettok(%bot,2,58)
goto nextread
}
But it doesn't work, yet it doesn't return any errors! When a user puts in !sabdetails rshield for example!

Can i get some help please? BTW the PHP script is outputting the data just like a notepad file with new lines in each, just if loaded in Internet Explorer, it comes up as one line.