currently my code is this...
on *:sockread:bot: {
sockread -f %temp
tokenize 32 %temp
if ($sockerr > 0) { echo -s *** ERROR $+([,$sock($sockname).wsmsg,].) | halt }
if ($1 == PING) { sockwrite -n $sockname PONG $2- }
if ($2 == 376) {
echo @Report SocketBot - %botnick1 is CONNECTED.
.timerNICK 1 5 sockwrite -n $sockname NICK %botnick1 %botpass1
.autojoin %botchan
}
else { return }
}
is there any simple coding for this, insted of using RAW...
Last edited by FedEx; 13/03/18 08:36 AM.