diff --git a/plugins/Utilities.py b/plugins/Utilities.py index 0bc081300..f0dee5a67 100644 --- a/plugins/Utilities.py +++ b/plugins/Utilities.py @@ -87,6 +87,12 @@ class Utilities(callbacks.Privmsg): """ irc.reply(msg, privmsgs.getArgs(args).lower()) + def strlen(self, irc, msg, args): + total = 0 + for arg in args: + total += len(arg) + irc.reply(msg, str(total)) + def repr(self, irc, msg, args): """