diff --git a/COMMANDS.md b/COMMANDS.md index 2c9b776..b221d22 100644 --- a/COMMANDS.md +++ b/COMMANDS.md @@ -1,83 +1,81 @@ Commands ======== -Required arguments are enclosed in { and }, optional arguments are enclosed in [ and ] +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 |
---|---|---|
Command | Description | Restrictions |
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 |
!join <channel> [key] | Join the specified channel | Admin-only |
!part <channel> | Leave the specified channel | Admin-only |
!quit | Disconnect from IRC server | Owner-only |
$botname: quit | Disconnect from IRC server | Owner-only |
!msg <channel/user> <message> | Send message to channel or user | Admin-only |
!me <channel/user> <message> | Send action to channel or user | Admin-only |
antiabuse.py | ||
!ignore {user} | Add user to ignore list | Admins |
!unignore {user} | Remove user from ignore list | Admins |
!listignore | List all ignored users | Admins |
!ignore <user> | Add user to ignore list | Admin-only |
!unignore <user> | Remove user from ignore list | Admin-only |
!listignore | List all ignored users | Admin-only |
calc.py | ||
!c {expression} | Calculate expression | Anyone |
!c <expression> | Calculate expression | |
chop.py | ||
!op [nick] ... | Op nick | Admins |
!deop [nick] ... | DeOp nick | Admins |
!voice [nick] ... | Voice nick | Admins |
!devoice [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 |
!op [nick] ... | Op nick (or yourself) | Admin-only |
!deop [nick] ... | Deop nick (or yourself) | Admin-only |
!voice [nick] ... | Voice nick (or yourself) | Admin-only |
!devoice [nick] ... | Devoice nick (or yourself) | Admin-only |
!ban <nick/mask> ... | Ban nick or mask | Admin-only |
!unban <nick/mask> ... | Unban nick or mask | Admin-only |
!mute <nick/mask> ... | Mute nick or mask | Admin-only |
!unmute <nick/mask> ... | Unmute nick or mask | Admin-only |
!kick <nick> [message] | Kick nick with message | Admin-only |
ping.py | ||
(hi|hello|hey) $botname | Reply with (Hi|Hello|Hey)( |!) | Anyone |
(hi|hello|hey) $botname | Reply with (Hi|Hello|Hey)( |!) | |
reload.py | ||
$botname: reload {module} | Reloads specified module | Admins |
$botname: reload <module> | Reloads specified module | Admin-only |
rutils.py | ||
!rev {string} | Reverse String | Anyone |
!b64e {string} | Base64-encode a string | Anyone |
!b64d {string} | Base64-decode a string | Anyone |
!rand [min] {max} | Says a random number between(incl.) min and max | Anyone |
!rev <string> | Reverse String | |
!b64e <string> | Base64-encode a string | |
!b64d <string> | Base64-decode a string | |
!rand [min] <max> | Get a random number inside [min, max] | |
seen.py | ||
!seen {person} | Reports when person was last seen | Anyone |
!seen <person> | Reports when person was last seen | |
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 | ||
!server [query] ... | Search servers from servers.minetest.net | |
addr:<string> searches in Address | ||
name:<string> searches in Server name | ||
players:<modifier> uses Player count | ||
- most servers with most players | ||
- least servers with least players | ||
- >N servers with less than N players | ||
- <N servers with more than N players | ||
- [=]N servers with exactly N players | ||
ping:<modifier> uses Ping | ||
- same modifiers as players: | ||
port:{modifier} uses Port | ||
port:<modifier> uses Port | ||
- same modifiers as players: | ||
i:{number/'last'} return Server no. x | ||
random pick random entry from results | ||
i:N/last return server at index N | ||
random pick random server (default) | ||
serverup.py | ||
!up {IP/hostname} [port] | Check if server at IP/hostname is up | Anyone |
Supports multiple Ports e.g. 123-456,999 | ||
!up <IP/hostname> [port] | Check if Minetest server is responding | |
title.py | ||
!title [link] | Query Page Title | Anyone |
!title [link] | Get page title of given URL (or last seen) | |
wiki.py | ||
!wik {term} | Query wiki.minetest.com for term | Anyone |
!wik <term> | Query wiki.minetest.net for term | |
devwiki.py | ||
!dev {term} | Query dev.minetest.net for term | Anyone |
!dev <term> | Query dev.minetest.net for term | |
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 |
!api [nick] | Link to API docs | Anyone |
!btc [currency] | Get Bitcoin price for specified currency | Anyone |
!rtfm [nick] | Give links to wiki and dev wiki | |
!questions [nick] | Link to ESR's "How to ask smart questions" | |
!next | Say: "Another satisfied customer. Next!" | |
!pil [nick] | Link to Lua PIL and manual | |
!git [nick] | Link to Git manual | |
!api [nick] | Link to API docs | |
!btc [currency] | Get Bitcoin price for specified currency | |
tell.py | ||
!tell {nick} {message} | Tell somebody a message | Anyone |
!tell <nick> <message> | Tell somebody a message | |
modsearch.py | ||
!mod {modname} | Searches for a mod | Anyone |
!mod <modname> | Searches for a mod | |
booksearch.py | ||
!book {term} | Searches for a chapter/page in the modding book | Anyone |
!book <term> | Searches for a chapter/page in the modding book |