1
0
Fork 0
mirror of git://git.psyced.org/git/psyced synced 2024-08-15 03:25:10 +00:00
psyced/place/irc.c

35 lines
1 KiB
C
Raw Normal View History

#include <net.h>
#define NAME "IRC"
// gatebot to ircnet
//
// just put this file into init.ls if you want it to
// activate at boot time. addressing irc:nickname
// should work also when this isn't loaded however.
//
//#define CONNECT_IRC "irc.freenet.de" // an ircnet server
//#define CONNECT_IRC "us.ircnet.org"
2009-01-26 20:12:53 +00:00
#define CONNECT_IRC "irc.fu-berlin.de"
//
// other example configuration
//
//#define CONNECT_IRC "test.example.org", 6777
//#define CHAT_CHANNEL "PSYC" // enter #PSYC
//#define PASS_IRC "wooboowaha" // server password
//#define IRC_HIDE
//
// Some networks have unusual policies, thus sometimes hacks were
// necessary, like so:
//
//#define ON_CONNECT emit("PRIVMSG NickServ :IDENTIFY " PASSWORD "\n");
//#define ON_CONNECT call_out("emit", 9, "JOIN :#" CHAT_CHANNEL "\n");
#include <place.gen>
2009-01-26 20:12:53 +00:00
#echo IRCnet Gateway loaded. Connecting to IRCnet IRC.
// See also http://about.psyc.eu/gateway
//
// To change the nickname of the gatebot you need to #define IRCGATE_NICK
// in your local.h, not here. It applies to all gatebots on this server.