To accomplish that, I made this small modification:
Code: Select all
Index: src/mod/irc.mod/cmdsirc.c
===================================================================
--- src/mod/irc.mod/cmdsirc.c (revision 10)
+++ src/mod/irc.mod/cmdsirc.c (revision 11)
@@ -112,6 +112,8 @@
putlog(LOG_CMDS, "*", "#%s# (%s) act %s", dcc[idx].nick, chan->dname, par);
dprintf(DP_HELP, "PRIVMSG %s :\001ACTION %s\001\n", chan->name, par);
dprintf(idx, "Action to %s: %s\n", chan->dname, par);
+
+ putlog(LOG_PUBLIC, chan->dname, "Action: %s %s", botname, par);
}
static void cmd_msg(struct userrec *u, int idx, char *par)
@@ -158,6 +160,11 @@
putlog(LOG_CMDS, "*", "#%s# (%s) say %s", dcc[idx].nick, chan->dname, par);
dprintf(DP_HELP, "PRIVMSG %s :%s\n", chan->name, par);
dprintf(idx, "Said to %s: %s\n", chan->dname, par);
+
+ if (me_op(chan))
+ putlog(LOG_PUBLIC, chan->dname, "@<%s> %s", botname, par);
+ else
+ putlog(LOG_PUBLIC, chan->dname, "<%s> %s", botname, par);
}
static void cmd_kickban(struct userrec *u, int idx, char *par)
This patch was created for eggdrop 1.6.18, but might work for others as well. (I haven't tested)
Hopefully this will save someone the bother of looking for hours for information on how to accomplish this