search another bot if unable to send funcmd replies over textbot
[NeonServV5.git] / neonserv.example.conf
index d93cd4242ba5b83460d2f481e9ccd6eee99099fc..ded933c179bd62a859320beb944ef718f3ef1901 100644 (file)
         //180 miutes, every 2 seconds: 5400 auth checks
         "alertchan" = "#krypton.intern";
     };
+    "UserBots" {
+        "OtherServ" {
+            "enabled" = 1;
+            "nick" = "OtherServ,OtherServ2"; //optional check (mask)
+            "sourcebot" = "NeonServ"; //send messages through a bot of this botclass
+            "opless_part" = "PRIVMSG %s :part %s"; //args: botnick, channel
+            "opless_join" = "PRIVMSG %s :join %s"; //args: botnick, channel
+        };
+    };
 };
 "QServer" {
     "enabled" = 0;
     "port" = 7499;
     "pass" = "blaa";
 };
-"log" { //neonserv.log
+"logs" {
     /*
-     1 - INFO
-     2 - ERROR
-     4 - RAW
-     8 - MYSQL
+    module:section = target_type:target
+    possible sections:
+        "info","debug","raw","mysql","override","warning","error","fatal"
+    possible targets:
+        file:log.log
+        irc:#channel
+        std:out
+        std:err
     */
-    "loglevel" = 3;
+    "*:info,warning,error,fatal" = "file:neonserv.log";
+    // "*:override,error,fatal" = "irc:#neonserv";
+    "*:info" = "std:out";
 };
 "modules" {
     "libglobalcmd" {