Help for this page

Select Code to Download


  1. or download this
    sub start_it
    {
    ...
    
        $irc->start() || die("Impossible to start.");
    }
    
  2. or download this
    sub on_connect
    {
    ...
        $conn->join($conn->{channel});
        $conn->{connected} = 1;
    }
    
  3. or download this
    sub on_disconnect
    {
    ...
        do_runlog(4,""); # Logs that it lost the connection
        start_it(); # Start over
    }