11 KiB
11 KiB
Commands
Required arguments are enclosed in { and }, optional arguments are enclosed in [ and ]
$botname refers to the name of the IRC bot, e.g. MinetestBot
Command | Description | Usable by |
---|---|---|
admin.py | ||
!join {channel} [channel-key] | Join the specified channel | Admins |
!part {channel} | Leave the specified channel | Admins |
!quit | Disconnect from IRC Server | Owner |
$botname: quit | Disconnect from IRC Server | Owner |
!msg {channel/user} {message} | Send message to channel/user | Admins |
!me {channel/user} {message} | Send action to channel/user | Admins |
antiabuse.py | ||
!ignore {user} | Add user to ignore list | Admins |
!unignore {user} | Remove user from ignore list | Admins |
!listignore | List all ignored users | Admins |
calc.py | ||
!c {expression} | Calculate expression | Anyone |
chop.py | ||
!op [nick] ... | Op nick | Admins |
!deop [nick] ... | DeOp nick | Admins |
!voice {nick} [nick] ... | Voice nick | Admins |
!devoice {nick} [nick] ... | DeVoice nick | Admins |
!ban {nick/mask} [nick/mask] ... | Ban nick/mask | Admins |
!unban {nick/mask} [nick/mask] ... | UnBan nick/mask | Admins |
!mute {nick/mask} [nick/mask] ... | Mute nick/mask | Admins |
!unmute {nick/mask} [nick/mask]... | UnMute nick/mask | Admins |
!kick {nick} {message} | Kick nick with message | Admins |
!badword {on/off/reload} | Enable/Disable badword functionality | Admins |
ping.py | ||
(hi|hello|hey) $botname | Reply with (Hi|Hello|Hey)( |!) | Anyone |
reload.py | ||
$botname: reload {module} | Reloads specified module | Admins |
rutils.py | ||
!rev {string} | Reverse String | Anyone |
!b64e {string} | Base64-encode a string | Anyone |
!b64d {string} | Base64-decode a string | Anyone |
!b32e {string} | Base32-encode a string | Anyone |
!b32d {string} | Base32-decode a string | Anyone |
!b16e {string} | Base16-encode a string | Anyone |
!b16d {string} | Base16-decode a string | Anyone |
!hash {hashtype} {string} | Hash a string, supports various hash functions | Anyone |
!rand [min] {max} | Says a random number between(incl.) min and max | Anyone |
search.py | ||
!g {string} | Output first Google result for string | Anyone |
!gc {string} | Output Google result count for string | Anyone |
seen.py | ||
!seen {person} | Output when person was last seen | Anyone |
server.py | ||
!server [query] [query] ... | Search servers at servers.minetest.net | Anyone |
addr:{string} searches in Address | ||
name:{string} searches in Server name | ||
players:{modifier} uses Player count | ||
- most finds servers with most players | ||
- least finds servers with least players | ||
- >{number} finds servers with players > x | ||
- <{num} finds servers with players < x | ||
- [=]{number} finds servers with x players | ||
- !{number} finds servers with not x players | ||
ping:{modifier} uses Player count | ||
- same modifiers as players: | ||
port:{modifier} uses Port | ||
- same modifiers as players: | ||
i:{number/'last'} return Server no. x | ||
random pick random entry from results | ||
serverup.py | ||
!up {IP/hostname} [port] | Check if server at IP/hostname is up | Anyone |
Supports multiple Ports e.g. 123-456,999 | ||
title.py | ||
!title [link] | Query Page Title | Anyone |
twitter.py | ||
!tw {link/username/tweet_id} | Query Tweet from Twitter | Anyone |
wiki.py | ||
!wik {term} | Query wiki.minetest.com for term | Anyone |
devwiki.py | ||
!dev {term} | Query dev.minetest.net for term | Anyone |
shortutils.py | ||
!rtfm [nick] | Give links to wiki and dev wiki | Anyone |
!questions [nick] | Link to ESR's "How to ask smart questions" | Anyone |
!next | Say: "Another satisfied customer. Next!" | Anyone |
!pil [nick] | Link to Lua PIL | Anyone |
!git [nick] | Link to Git manual | Anyone |
!btc [currency] | Get Bitcoin price for specified currency | Anyone |
tell.py | ||
!tell {nick} {message} | Tell somebody a message | Anyone |