mirror of
https://github.com/pragma-/pbot.git
synced 2025-03-05 22:11:09 +01:00

This allows us to call random factoids. E.g.: factadd global fact1 is /say This is fact1. factadd global fact2 is /say Fact2 is also a pretty neat fact. factadd global fact3 is /say But don't forget about fact3! factadd global facts is fact1 fact2 fact3 factadd global randomfact is /call $facts Invoking the `randomfact` factoid will now randomy pick between fact1, fact2 and fact3. This was added to support the `randomkr` factoid.
PBot is a versatile IRC Bot written in Perl for the ##C channel on Freenode.net Features -------- * Factoids * Quotegrabs * Loadable modules that are simple programs based on stdin and stdout * Lots of default modules, including a code compiler and debugger, C-to-English translator, C precedence analyzer, trivia and much more * Channel management * User hostmask and message tracking * Ban evasion detection * Flood detection * Enter-abuse detection * Auto-away detection * Auto-rejoin after kick detection * Registry-based customization See http://www.iso-9899.info/wiki/Candide for more information.
Languages
Perl
92.2%
Python
6.9%
Shell
0.4%
C
0.2%
Prolog
0.1%