mirror of
https://github.com/pragma-/pbot.git
synced 2024-11-28 14:59:56 +01:00
001f2024c4
Uses POSIX shell parameter expansion syntax. <pragma-> !factadd cookie /me gives a cookie to ${args:-nobody. What a shame}! <PBot> cookie added to the global channel. <pragma-> !cookie Bob * PBot gives a cookie to Bob! <pragma-> !cookie * PBot gives a cookie to nobody. What a shame! <pragma-> !factadd sum /call calc $arg[0]:-1 + $arg[1]:-2 <PBot> sum added to the global channel. <pragma-> !sum <PBot> 1 + 2 = 3 <pragma-> !sum 3 <PBot> 3 + 2 = 5 <pragma-> !sum 4 6 <PBot> 4 + 6 = 10 |
||
---|---|---|
.. | ||
Plugins | ||
Admin.md | ||
AntiAbuse.md | ||
Applets.md | ||
Commands.md | ||
Factoids.md | ||
FAQ.md | ||
Functions.md | ||
git-md-toc | ||
makereadmetoc | ||
Plugins.md | ||
QuickStart.md | ||
README.md | ||
Registry.md | ||
updatetocs | ||
VirtualMachine.md |
PBot Documentation
Table of Contents
- QuickStart
- Plugins
- Commands
- Administrative
- Factoids
- Registry
- Applets
- About
- Creating applets
- Documentation for
built-in applets
- cc
- Usage
- Supported Languages
- Default Language
- Disallowed system calls
- Program termination with no output
- Abnormal program termination
- C and C++ Functionality
- Using the preprocessor
- main() Function Unnecessary
- Embedding Newlines
- Printing in binary/base2
- Using the GDB debugger
- Interactive Editing
- Some Examples
- english
- expand
- prec
- paren
- faq
- cfact
- cjeopardy
- c99
- c11
- c23
- man
- define
- dict
- foldoc
- vera
- udict
- wdict
- acronym
- math
- calc
- qalc
- compliment
- insult
- excuse
- horoscope
- quote
- cc
- Anti-Abuse
- Virtual Machine
- Initial virtual machine set-up
- Start PBot VM Host
- Frequently Asked
Questions
- When I
type
!version
it say “new version available”? - How do I change the bot trigger?
- How do I whitelist a user?
- How do I change how the bot outputs multi-line messages?
- How can I remove excessive spaces and tabs from command output?
- How do I change my password?
- How do
I make PBot remember my
date
timezone? - How
do I make PBot remember my
weather
location? - How do I set up automatic join-flood enforcement?
- When I
type