How to do this automatically send a ping to the server thought a socket?
This is a little piece of the connection info which the socket must send:
:tongue:enguin.uk.eu.blitzed.org NOTICE AUTH :*** Looking up your hostname...
:tongue:enguin.uk.eu.blitzed.org NOTICE AUTH :*** Found your hostname, cached
:tongue:enguin.uk.eu.blitzed.org NOTICE AUTH :*** Checking Ident
:tongue:enguin.uk.eu.blitzed.org NOTICE AUTH :*** Got Ident response
PING :1784155698
:tongue:enguin.uk.eu.blitzed.org 451 Triviant join :Register first.
:tongue:enguin.uk.eu.blitzed.org 451 Triviant privmsg :Register first.
:tongue:enguin.uk.eu.blitzed.org 451 Triviant privmsg :Register first.
:tongue:enguin.uk.eu.blitzed.org 451 Triviant privmsg :Register first.
:tongue:enguin.uk.eu.blitzed.org NOTICE AUTH :If you are having difficulty connecting, try typing /QUOTE PONG 1784155698
:tongue:enguin.uk.eu.blitzed.org 451 Triviant privmsg :Register first.
I have this in my remote:
on 1:sockread:Trivia:{
if ($sockerr > 0) return
:nextread
sockread %temp
if ($sockbr == 0) return
if (%temp == $null) %temp = -
echo 4 %temp
goto nextread
}
anybody now how to help me???