summary |
shortlog |
log |
commit | commitdiff |
tree
raw |
patch |
inline | side by side (from parent 1:
1c7d140)
git-svn-id: https://svn.code.sf.net/p/infobot/code/trunk/blootbot@694
c11ca15a-4712-0410-83d8-
924469b57eb5
if ($message =~ /^statu?s$/i) {
my $startString = scalar(gmtime $^T);
my $upString = &Time2String(time() - $^T);
if ($message =~ /^statu?s$/i) {
my $startString = scalar(gmtime $^T);
my $upString = &Time2String(time() - $^T);
- my $count = &countKeys("factoids");
+ my $factoids = &countKeys("factoids");
+ my $botmail = &countKeys("botmail");
$count{'Commands'} = 0;
foreach (keys %cmdstats) {
$count{'Commands'} = 0;
foreach (keys %cmdstats) {
" and \002$count{'Commands'}\002 ".
&fixPlural("command",$count{'Commands'}).
". I have been awake for $upString this session, and ".
" and \002$count{'Commands'}\002 ".
&fixPlural("command",$count{'Commands'}).
". I have been awake for $upString this session, and ".
- "currently reference \002$count\002 factoids. ".
+ "currently reference \002$factoids\002 factoids. ".
+ "I have \002$botmail\002 ". &fixPlural("message", $botmail). ". ".
"I'm using about \002$memusage\002 ".
"kB of memory."
);
"I'm using about \002$memusage\002 ".
"kB of memory."
);