Mój problem polega na tym że po uruchomieniu bota slavee 2.0 rc2 bot sie łączy z serverem irc (w moim przypadku jest do ircnet) ale nie przechodzi na kanał próbowałem już opóźnić komendę join w nim ale to nic nie daje. Podaje tutaj funkcję na połączenie bota. Może będziecie wiedzieć czemu nie chce wejść:
<?php
function connect()
{
$this->fp = @fsockopen($this->config['server'], $this->config['port']); if(!$this->fp)
{
$this->show('!: Nie można było nawiązać połączenia z '.$this->config['server']);
}
else
{
$this->show(sprintf('* Rejestruje użytkownika %s', $this->config['nick'])); $this->send(sprintf("PASS %s", $this->config['password'])); $this->send(sprintf("NICK %s", $this->config['nick'])); $this->send(sprintf("USER %s %s %s :%s", $this->config['ident'], $this->config['host'], $this->config['server'], $this->config['realname'])); $this->send(sprintf("JOIN %s", $this->config['channel'])); $this->show(sprintf('* Połączony z %s jako %s.', $this->config['server'], $this->config['nick'])); $this->receive_data();
}
} // end function connect()
?>
Z góry dziękuję za pomoc.