change to this:
on *:text:!sabdetails*:*: {
[color:red]set %un $2[/color]
sockopen bot 192.168.1.2 6080
}
[color:blue]
remove this completely
;on *:sockopen:bot: {
; sockwrite -n $sockname GET $+(/s3h/getdetails.php?name=,%un)
; sockwrite -n $sockname Host: $+(192.168.1.2,$crlf,$crlf)
;} [/color]
also change the next red part
on *:sockopen:bot: {
sockwrite -n bot GET http://192.168.1.2:6080/s3h/getdetails.php?name=[color:red] $+ %un [/color]
}
on 1:sockread:bot: {
if ($sockerr > 0) return
:nextread
sockread %bot
if ($sockbr == 0) return
if (%bot == $null) %bot = -
echo -a %bot
goto nextread
}