Infobot (rebranded blootbot):
License: Artistic
Main Author:
- - Tim Rike <Tim@Rikers.org>
+ - Tim Rike <Tim@Rikers.org>
Other Contributors:
- - David Sobon <dms@users.sourceforge.net>
- - Danny Jabbour [GmLB] <danny@opticaldelusion.org>
- - Danny McGrath <djmcgrath@users.sourceforge.net>
+ - David Sobon <dms@users.sourceforge.net>
+ - Danny Jabbour [GmLB] <danny@opticaldelusion.org>
+ - Danny McGrath <djmcgrath@users.sourceforge.net>
Infobot (original):
License: As perl (GPL & Artistic)
- - Kevin A. Lenzo [oznoid] <lenzo@cs.cmu.edu>
- - Patrick Cole [ltd] <???>
+ - Kevin A. Lenzo [oznoid] <lenzo@cs.cmu.edu>
+ - Patrick Cole [ltd] <???>
Blootbot:
License: Artistic
Main Author:
- - Tim Riker <Tim@Rikers.org>
+ - Tim Riker <Tim@Rikers.org>
Other Contributors:
- - David Sobon <dms@users.sourceforge.net>
- - Danny Jabbour [GmLB] <danny@opticaldelusion.org>
+ - David Sobon <dms@users.sourceforge.net>
+ - Danny Jabbour [GmLB] <danny@opticaldelusion.org>
Module-Reload: (idea taken)
License: Artistic
- - Doug MacEachern <???>
- - Joshua Pritikin <???>
+ - Doug MacEachern <???>
+ - Joshua Pritikin <???>
Module-Units:
License: GPL
- - M-J. Dominus <mjd-perl-units-id-iut+buobvys+@plover.com>
+ - M-J. Dominus <mjd-perl-units-id-iut+buobvys+@plover.com>
OnJoin:
- Corey Edwards <tensai@zmonkey.org>
Quotes file (files/infobot.randtext):
- ??? Ask netgod/larne/is for dpkg's tcl
+
+# vim:ts=4:sw=4:expandtab:tw=80
Known bugs that should be dealt with soon as possible:
- * Older CMD: foo's cannot be used or removed. Must be removed manually from the database with SQL
- * !+topic list gives and incorrect error Failed. "You (#botpark) are not in #botpark, hey?"
- * Bot tries to ask chanserv for OP's on any channel. Should be a chanset setting on a per channel basis
- * News is currently stored in a file rather than the SQL table created for it
- * !help has size issues. Add's extra lines with only 1 or 2 help commands instead of one maximum size IRC msg
- * Bot can be flooded offline with a crash if !+factstats help and /msg nick factstats help, are used at the same time
+ * Older CMD: foo's cannot be used or removed. Must be removed manually from
+ the database with SQL
+
+ * !+topic list gives and incorrect error Failed. "You (#botpark) are not in
+ #botpark, hey?"
+
+ * Bot tries to ask chanserv for OP's on any channel. Should be a chanset
+ setting on a per channel basis
+
+ * News is currently stored in a file rather than the SQL table created for it
+
+ * !help has size issues. Add's extra lines with only 1 or 2 help commands
+ instead of one maximum size IRC msg
+
+ * Bot can be flooded offline with a crash if !+factstats help and /msg nick
+ factstats help, are used at the same time
+
+# vim:ts=4:sw=4:expandtab:tw=80
chanset _default chanServCheck 1
chanset #notmychannel chanServCheck 0
+
+# vim:ts=4:sw=4:expandtab:tw=80
- There are "bugs" in the perl modules. Read INSTALL.patches on how to fix.
- Finally, './infobot'
+
+# vim:ts=4:sw=4:expandtab:tw=80
#debian at freenode (irc.freenode.net), at:
http://lain.cheme.cmu.edu/~apt/infobot/apt.sql.bz2
+
+# vim:ts=4:sw=4:expandtab:tw=80
properly. to patch:
cd /usr/share/perl5/Net/IRC/
cat ~bot/patches/Net_IRC_Connection_pm.patch | patch -p0
+
+# vim:ts=4:sw=4:expandtab:tw=80
You will also need the normal Perl DBD stuff which should be included in your
Perl distribution.
+
+# vim:ts=4:sw=4:expandtab:tw=80
IRC
If your looking to hang out on IRC, feel free. We can be found
in the #infobot channel on irc.freenode.net. See you there!
+
+
+# vim:ts=4:sw=4:expandtab:tw=80
for list of configuration options, run:
perl scripts/findparam.pl
+
+
+# vim:ts=4:sw=4:expandtab:tw=80
- do some test cases to confirm code actually works as
proposed.
+
+# vim:ts=4:sw=4:expandtab:tw=80
rssfeeds: E: rssfeeds flush
rssfeeds: D: flush - Will erase the cache file. (Must be chattr +o)
rssfeeds: D: update - Force a manual update of the feeds. (Must be chattr +o)
+
+# vim:ts=4:sw=4:expandtab:tw=80
}
1;
+
+# vim:ts=4:sw=4:expandtab:tw=80
fi
exit 0;
+
+# vim:ts=4:sw=4:expandtab:tw=80
close OUT;
print "Done.\n";
+
+# vim:ts=4:sw=4:expandtab:tw=80
cd $BOTDIR
./infobot
+
+# vim:ts=4:sw=4:expandtab:tw=80
print "Done.\n";
&closeDB();
dbmclose(%db);
+
+# vim:ts=4:sw=4:expandtab:tw=80
print "$key => $val\n";
}
dbmclose %db;
+
+# vim:ts=4:sw=4:expandtab:tw=80
}
}
+# vim:ts=4:sw=4:expandtab:tw=80
foreach (sort keys %conf) {
print " $_\n";
}
+
+# vim:ts=4:sw=4:expandtab:tw=80
}
$dbh->disconnect();
+
+# vim:ts=4:sw=4:expandtab:tw=80
close IN;
}
+
+# vim:ts=4:sw=4:expandtab:tw=80
}
my $date = shift;
exit &main($date);
-# vim: ts=2
+
+# vim:ts=4:sw=4:expandtab:tw=80
return crypt($what, $salt);
}
+# vim:ts=4:sw=4:expandtab:tw=80
print "Done.\n";
&closeDB();
+
+# vim:ts=4:sw=4:expandtab:tw=80
%z = (1,2,3,4, 5, 6, \@y);
$z = 300;
DUMPVAR::dumpvar("Test");
+
+# vim:ts=4:sw=4:expandtab:tw=80
$spaces = ": " x $level;
print "${spaces}$_[0]\n";
}
+
+# vim:ts=4:sw=4:expandtab:tw=80
echo -n "status: "; grep status `find infobot src -type f` | wc -l
echo -n "ERROR: "; grep ERROR `find infobot src -type f` | wc -l
echo -n "TODO: "; grep TODO `find infobot src -type f` | wc -l
+
+# vim:ts=4:sw=4:expandtab:tw=80
print "=> error: could not open file.\n";
}
}
+
+# vim:ts=4:sw=4:expandtab:tw=80
$spaces = ": " x $level;
print "${spaces}$_[0]\n";
}
+
+# vim:ts=4:sw=4:expandtab:tw=80
print $padding."scalars $scalar, size $size\n";
return $size;
}
+
+# vim:ts=4:sw=4:expandtab:tw=80
print "Done.\n";
&closeDB();
+
+# vim:ts=4:sw=4:expandtab:tw=80
print "end.\n";
}
+
+# vim:ts=4:sw=4:expandtab:tw=80
close OUT;
print "Done.\n";
+
+# vim:ts=4:sw=4:expandtab:tw=80
(NOTE: The setup will ask for an account capable of administrating
the database server!)
+
+# vim:ts=4:sw=4:expandtab:tw=80
&status("Done.");
&sqlCloseDB();
+
+# vim:ts=4:sw=4:expandtab:tw=80
}
1;
+
+# vim:ts=4:sw=4:expandtab:tw=80
&status('loaded '.scalar(keys %cmdhooks).' command hooks.');
1;
+
+# vim:ts=4:sw=4:expandtab:tw=80
);
1;
+
+# vim:ts=4:sw=4:expandtab:tw=80
}
1;
+
+# vim:ts=4:sw=4:expandtab:tw=80
}
1;
+
+# vim:ts=4:sw=4:expandtab:tw=80
}
1;
+
+# vim:ts=4:sw=4:expandtab:tw=80
}
1;
+
+# vim:ts=4:sw=4:expandtab:tw=80
}
1;
+
+# vim:ts=4:sw=4:expandtab:tw=80
}
1;
+
+# vim:ts=4:sw=4:expandtab:tw=80
}
1;
+
+# vim:ts=4:sw=4:expandtab:tw=80
}
1;
+
+# vim:ts=4:sw=4:expandtab:tw=80
}
1;
+
+# vim:ts=4:sw=4:expandtab:tw=80
}
1;
+
+# vim:ts=4:sw=4:expandtab:tw=80
}
1;
+
+# vim:ts=4:sw=4:expandtab:tw=80
}
1;
+
+# vim:ts=4:sw=4:expandtab:tw=80
}
1;
+
+# vim:ts=4:sw=4:expandtab:tw=80
}
1;
-# vim: ts=2 sw=2
+
+# vim:ts=4:sw=4:expandtab:tw=80
}
1;
+
+# vim:ts=4:sw=4:expandtab:tw=80
__END__
+
+# vim:ts=4:sw=4:expandtab:tw=80
}
1;
+
+# vim:ts=4:sw=4:expandtab:tw=80
}
1;
+
+# vim:ts=4:sw=4:expandtab:tw=80
}
1;
+
+# vim:ts=4:sw=4:expandtab:tw=80
}
1;
+
+# vim:ts=4:sw=4:expandtab:tw=80
=head1 AUTHORS
Bobby <bobby@bofh.dk>
+
+# vim:ts=4:sw=4:expandtab:tw=80
}
1;
+
+# vim:ts=4:sw=4:expandtab:tw=80
}
1;
+
+# vim:ts=4:sw=4:expandtab:tw=80
}
1;
+
+# vim:ts=4:sw=4:expandtab:tw=80
}
1;
+
+# vim:ts=4:sw=4:expandtab:tw=80
sub AUTOLOAD { &::AUTOLOAD(@_); }
1;
+
+# vim:ts=4:sw=4:expandtab:tw=80
}
1;
+
+# vim:ts=4:sw=4:expandtab:tw=80
}
1;
+
+# vim:ts=4:sw=4:expandtab:tw=80
}
1;
+
+# vim:ts=4:sw=4:expandtab:tw=80
}
1;
-# vim: ts=2 sw=2
+
+# vim:ts=4:sw=4:expandtab:tw=80
}
1;
+
+# vim:ts=4:sw=4:expandtab:tw=80
}
1;
-# vim: ts=2 sw=2
+
+# vim:ts=4:sw=4:expandtab:tw=80
}
1;
+
+# vim:ts=4:sw=4:expandtab:tw=80
}
1;
+
+# vim:ts=4:sw=4:expandtab:tw=80
1;
+
+# vim:ts=4:sw=4:expandtab:tw=80
}
1;
+
+# vim:ts=4:sw=4:expandtab:tw=80
}
1;
+
+# vim:ts=4:sw=4:expandtab:tw=80
}
1;
+
+# vim:ts=4:sw=4:expandtab:tw=80
}
1;
+
+# vim:ts=4:sw=4:expandtab:tw=80
1;
+# vim:ts=4:sw=4:expandtab:tw=80
+
__END__
=head1 NAME
}
1;
+
+# vim:ts=4:sw=4:expandtab:tw=80
1;
+# vim:ts=4:sw=4:expandtab:tw=80
+
=pod
=head1 NAME
}
1;
+
+# vim:ts=4:sw=4:expandtab:tw=80
}
1;
+
+# vim:ts=4:sw=4:expandtab:tw=80
}
1;
+
+# vim:ts=4:sw=4:expandtab:tw=80
}
1;
+
+# vim:ts=4:sw=4:expandtab:tw=80
POSSIBILITY OF SUCH DAMAGE.
=cut
+
+# vim:ts=4:sw=4:expandtab:tw=80
}
1;
-# vim: ts=2 sw=2
+
+# vim:ts=4:sw=4:expandtab:tw=80
1;
+# vim:ts=4:sw=4:expandtab:tw=80
+
__DATA__
#
# configuration file for colorado insult server
}
1;
+
+# vim:ts=4:sw=4:expandtab:tw=80
}
1;
+
+# vim:ts=4:sw=4:expandtab:tw=80
}
'pager';
-# vim: ts=2 sw=2
+
+# vim:ts=4:sw=4:expandtab:tw=80
}
1;
+
+# vim:ts=4:sw=4:expandtab:tw=80
}
1;
+
+# vim:ts=4:sw=4:expandtab:tw=80
}
1;
+
+# vim:ts=4:sw=4:expandtab:tw=80
}
1;
+
+# vim:ts=4:sw=4:expandtab:tw=80
}
1;
-# vim: ts=2 sw=2
+
+# vim:ts=4:sw=4:expandtab:tw=80
}
1;
+
+# vim:ts=4:sw=4:expandtab:tw=80
}
1;
-# vim: ts=2 sw=2
+
+# vim:ts=4:sw=4:expandtab:tw=80
}
1;
-# vim: shiftwidth=2 tabstop=2
__END__
+
+# vim:ts=4:sw=4:expandtab:tw=80
}
1;
-# vim: shiftwidth=2 tabstop=2
+
+# vim:ts=4:sw=4:expandtab:tw=80
+
__END__
}
1;
+
+# vim:ts=4:sw=4:expandtab:tw=80
}
1;
+
+# vim:ts=4:sw=4:expandtab:tw=80
}
1;
+
+# vim:ts=4:sw=4:expandtab:tw=80
}
1;
+
+# vim:ts=4:sw=4:expandtab:tw=80
}
1;
+
+# vim:ts=4:sw=4:expandtab:tw=80
}
1;
+
+# vim:ts=4:sw=4:expandtab:tw=80
}
1;
+
+# vim:ts=4:sw=4:expandtab:tw=80
}
1;
+
+# vim:ts=4:sw=4:expandtab:tw=80