{"NS_SEARCH_HEADER", "The following channels were found:"},
{"NS_COMMAND_BINDING", "$b%s$b is a binding of %s %s"}, /* {ARGS: "TestCommand", "TestFunction", "TestParameters"} */
{"NS_COMMAND_ACCESS", "You need at least %d channel access and %d oper access to execute this command."}, /* {ARGS: 500, 100} */
+ {"NS_TOPIC_ACCESS", "You lack sufficient access in %s to change the topic."}, /* {ARGS: "#TestChan"} */
+ {"NS_BOTWAR_DETECTED", "$b$k4BOTWAR DETECTED!$k Please check the channel configuration!$b"},
+ {"NS_BOTWAR_REPORTED", "A supporter has been informed to help you preventing botwars in the future."},
+ {"NS_BOTWAR_ALERT", "$b$k4BOTWAR ALERT:$k$b Botwar in $b%s$b detected. (opponent: $b%s$b) Please join and help them preventing Botwars."}, /* {ARGS: "#TestChan", "OtherBot"} */
+ {"NS_INVITE_FAIL", "$b%s$b is not registered with %s or suspended."}, /* {ARGS: "#TestChan", "NeonServ"} */
{NULL, NULL}
};
#include "cmd_neonserv_raw.c"
#include "cmd_neonserv_reloadlang.c"
#include "cmd_neonserv_oplog.c"
+//#include "cmd_neonserv_rename.c"
//HARDCODED FUN CMD's
//#include "cmd_neonserv_iplocate.c"
//#include "event_neonserv_mode.c"
#include "event_neonserv_ctcp.c"
#include "event_neonserv_notice.c"
-//#include "event_neonserv_invite.c"
-//#include "event_neonserv_topic.c"
+#include "event_neonserv_invite.c"
+#include "event_neonserv_topic.c"
static struct ClientSocket *getBotForChannel(struct ChanNode *chan) {
struct ClientSocket *bot, *use_bot = NULL, *second_bot = NULL, *third_bot = NULL;
bind_chanctcp(neonserv_event_chanctcp);
bind_privctcp(neonserv_event_privctcp);
bind_channotice(neonserv_event_channotice);
+ bind_topic(neonserv_event_topic);
+ bind_invite(neonserv_event_invite);
set_trigger_callback(BOTID, neonserv_trigger_callback);