AW: [IRCServices] Suggestion for IRC Services

Georges Berscheid georges at berscheid.lu
Fri Mar 21 11:13:42 PST 2003


Hi,

change the body of do_introduce in misc/devnull.c to the following:

    if (!nick || irc_stricmp(nick, s_DevNull) == 0) {
        send_nick(s_DevNull, ServiceUser, ServiceHost, ServerName,
                  desc_DevNull, pseudoclient_modes);
        send_cmd(s_DevNull, "JOIN #yourchan1");
        send_cmd(s_DevNull, "JOIN #yourchan2");
        send_cmd(s_DevNull, "JOIN #yourchan3");
        send_cmd(s_DevNull, "JOIN #yourchan4");
        if (nick)
            return 1;
    }
    return 0;
recompile and restart,
or try /msg operserv raw :DevNull JOIN #yourchan

Use this at your own risk ;-)

Georges



-----Ursprüngliche Nachricht-----
Von: ircservices-bounces at ircservices.za.net
[mailto:ircservices-bounces at ircservices.za.net] Im Auftrag von Jeffery
Kam
Gesendet: Freitag, 21. März 2003 14:55
An: ircservices at ircservices.za.net
Betreff: [IRCServices] Suggestion for IRC Services


Is there any way you can add or change the devnull module allowing
people to make it join channels upon connection.
 
For example,
When services start, I want ‘DevNull’ (which is renamed on my network)
to automatically join 4 channels because of their signifigance to the
network.  Please add this function or change it for me.
 
Thanks a lot
-Darkj