hello I did everything you said but I'll fuck type the command does not work can see my code to see if ta and
on !*:join:#osamigos:$hello(#,$nick)
on $*:text:/^!statss(S+)$/iS:#osamigos:$hello(#,$regml(1))
alias -l hello {
if (!$sock(hello)) {
sockopen hello
http://osamigos.com 80
sockmark hello msg $1 $+(/ircstats.php?search=)
}
}
on *:sockopen:hello:{
sockwrite -n $sockname GET $gettok($sock(hello).mark,3,32) HTTP/1.1
sockwrite -n $sockname Host: $+($sock(hello).addr,$str($crlf,2))
}
on *:sockread:hello:{
var %hello | sockread %hello
if ($regex(%hello,/(.+ $+ $gettok($sock(hello).mark,2,61) $+ .+)/)) {
$gettok($sock(hello).mark,1-2,32) $regml(1)
sockclose hello
}
}