Article History
 
 
 
Discussion
 
16381 views
 
32% Strobe
BotB IRCBot View HTML Version
 

BotB is the multifunctional IRC Bot for the '[[IRC] channel #botb on irc.esper.net and displays events that happen on the BotB website, such as logins, new entry uploads, '[[BotBr level ups], and a plethora various of misc stuff.

BotB Is following the original rules of Robots as described by Isaac Asimov:
'[ol['[li[A robot may not injure a human being or, through inaction, allow a human being to come to harm.]
'[li[A robot must obey any orders given to it by human beings, except where such orders would conflict with the First Law.]
'[li[A robot must protect its own existence as long as such protection does not conflict with the First or Second Law.]]

'[#[Channel Commands]
The command prefix is !
Available commands: battle, botbr, entry, giphy, google, help, image, imdb, imgur, kudos, levelup, lyceum, ohb, top, pix, ultrachord, unknown, uptime, wikipedia, youtube 

!battle: displays a list of all currently running battles
!botbr : searches for a specific BotBr
!entry : searches for a specific entry
!giphy : searches on giphy with the given text and returns the first result
!google : searches on google with the given text and returns the first result
!help: Displays all available commands
!image : searches on google images with the given text and returns the first result
!imdb : searches on imdb with the given text and returns the first result
!imgur : searches on imgur with the given text and returns the first result
!kudos : Displays the amount of kudos for the given text
!levelup : Calculates for a given BotBr, when they'll reach the next level and also when they might reach level 33
!lyceum : searches for a specific Lyceum Article
!ohb: Shows if an OHB is currently running (or not, because the command is currently (June 2019) not working. Use !battle instead (or check the fucking site))
!top: Displays the top 5 BotBr by points (Use !top  for a list of a specific class!)
!pix: returns an error........ (seriously, i have no idea what it should do, but its definitely not working atm lol)
!ultrachord : returns a link to an mp3 file with the chord specified (actually transposed by a few notes)
!unknown: you are in need of !help
!uptime: returns how long the bot is running since the last restart
!wikipedia : searches on wikipedia with the given text and returns the first result
!youtube : searches on youtube with the given text and returns the first result

'[#[Kudos]
A good way to show respect or disrespect for something! Ending a message with ++ or -- adds / substracts kudos. (max length is 32!)
Please do everyone a favour and DO NOT spam kudos. It's pointless and just a gimmick. thanks!

'[#[Old Bot]
Halfway through 2018, the initial Bot by Strobe died (rip) and was replaced by puke's version! Just for the sake of history and filing, here is the old stuff as well:

'[t[b2]Channel Commands'[/t]
BotB Bot has various helpful commands.

When a link is posted, the bot will give information for that page. It will also give extra information for YouTube links. This is regardless of where the appears in the message.

"!ohc" or "!ohb" gives the current OHC status on BotB. This shows time left to submit and format of OHC. If there is more than one OHB going on at the same time, the last one to start is displayed.

"!compo" or "!battle" lists all occurring compos on BotB, as well as links to them.

"!user (string)" or "!botbr (string)" returns a URL for a BotBr's profile, where (string) is the BotBr's name.

"!entry (string)" will return a link to a BotB entry with a title/filename that contains (string).

"!pix (string)" or "!pic (string)" returns a URL for a '[[BotBr] picture where (string) is the IRC nickname of a BotBr. If you want to use a pic for your nick, ask Strobe. 

"!g (string)" returns a URL for a '[l[http://google.com[Google] search where (string) is your search query.

"!gi (string)" or "!image (string)" returns the first image it can find related to the input (string).

"!i (string)" returns a URL for a '[l[http://imdb.com[IMdB] search where (string) is your search query.

"!levelup (botbr)" returns botbr's current level, current points, calculated points per year, estimated time to level up, estimated time to reach GRAND WIZARD STATUS of level 33, current boons, and calculated boons per year. (Note: this command takes 30-60 seconds to return anything because it is very inefficient and has to download a bunch of html data!!!!!!!!!)

"!w (string)" returns a URL for a '[l[http://wikipedia.org[Wikipedia] article where (string) is your search query.

"!y (string)" returns a URL for the first hit of (string) on YouTube.

"!panda" displays Panda Lyceum page.

"!chord" command deprecated, use !ultrachord

UPDATE 2013 on !chord
------------------------------------
There is now a !ultrachord beta command that is going to replace the old !chord command.
it works like this:
!ultrachord C3 D#3 G3

This will produce a choir in C minor, you can change instruments on fly if
you set notes to "trem" "brass" "choir", choir is default.

Notes can range from C0 up to C7
if number is omitted it will pick octave 2.
-------------------------------------------------------------------------------------------

"!help" or "!botb" will link you here. '[b]It's recommended to use the latter trigger as TMAnna will give you a nice wall of text if you use the former!'[/b]

"!uptime" returns the uptime of the bot's machine.

'[t[b2]Borken Commands'[/t]
Beginning a message with "what is" used to return a result from Wolfram|Alpha.

Beginning a message with "interpret" used to return a result from Urban Dictionary.

PM'ing "alchemy" used to generate a ZIP'd pack of WAVs, and PM'ing "alchemydpcm" used to generate a ZIP'd pack of DMCs.

'[t[b2]PM Commands'[/t]
BotB Bot can also has some PM commands.

sending OHC_AddMe to BotB on IRC will put you on the OHC Spamlist and will highlight you when there is an ongoing OHC.

sending OHC_RemoveMe to BotB on IRC will remove your nick from that list.

OHC_End_AddMe will add you to the OHC End list, which will highlight you when there is 2 minutes left of an OHC.

OHC_End_RemoveMe will remove your nick from that list.

Memo Functions
!memo write/read number text

For example !memo write 0 "Hello there!" will be stored at place 0 in your memobook, for retrieval with !memo read 0

'[t[b2]Uploading Files'[/t]

If you DCC send a file to BotB it will display it in the main channel #botb , many file formats supported; not executables and some others.

Transcoding: Sending an NSF, AMD (AMusic Adlib), SAP, SPC, SID, and FFS file will also output a link to a converted MP3 audiofile.

Sending a .BMP file will display the original file as well as an HTML/ASCII representation of that Bitmap.

Sending a .MML file will compile it to a NSF with PPMCK and display a link to the compiled file in the channel.

'[t[b2]Viewing Uploaded Files'[/t]

For Web Interface of the uploaded files (through DCC)
go to (http://upload.rotfl.at), or to (http://lmao.rotfl.at/upload) to browse without frames that provides a pretty logo at the top.

Users may see what they upload by addressing the filename after the username:

For example:  http://lmao.rotfl.at/upload/*user*/*filename.ext*

(Asterisks are not to be entered; but are a representation of, "enter whatever you want within the format.")

'[t[b2]Trivia Bot'[/t]
BotB has a trivia counterpart, BotB-Trivia! If you want a trivia contest, nag Strobe to have the trivia bot join another channel other than #botb .

'[t[b2]Behind the Hostmask'[/t]
The BotB Bot server runs on an i3 Sandybridge CPU with 6GB RAM.

'[#[failure_lambda]
This IRC bot was made by failure_{supreme,vigorous,moderate}. It's not further developed and currently offline. All information from now on are just here for archiving reasons!

Please note that the bot will NOT reply to more than 1 command every five seconds.

'[t[b3]!unset'[/t]
Is there a command that's getting spammed or abused? Just !unset it!

 nice
 nice
 !unset ice
 nice
 :)

'[t[b3]!set'[/t]
Let's say you want to link the current synclisten url, just by saying !sync in chat, for an hour.

!set sync 60 To join the synclisten, check http://example.com

Now everyone can just write !sync:

 !sync
 To join the synclisten, check http://example.com

This is useful to temporarily define any command, right from irc!

'[t[b3]!ohbpls'[/t]
!ohbpls 100

This command lets you inform the bot that you are available to do an ohb for 100 minutes. Example output:

 !ohbpls 100
 f­ailure_success want to ohb
 right NOW:[1] 60:[1] 120:[0]  (type !pls help for more info c: )

as you can see, it says that one user is available if the ohb starts now, or in 60 minutes, but not in two hours!

What if you change plans and aren't available anymore?

 !ohbpls -1
 right NOW:[0] 60:[0] 120:[0]  (type !pls help for more info c: )

You have been removed from the list :)

If you just want to know how many people are available, simply:

 !ohbpls
 f­ailure_success want to ohb
 right NOW:[1] 60:[1] 120:[0]  (type !pls help for more info c: )

'[t[b3]!bf'[/t]
This is pretty dumb. Converts the output of a brainfuck program into a sound file. Example command:

 !bf ++++++++++ [ > ++++++++++ [ > ++++++++++ ++++++++++ ++++++++++ ++++++++++ ++++++++++[ > . +++ < - ] ++++++++++ ++++++++++ ++++++++++ ++++++++++ ++++++++++ [ > . --- < - ] < - ] < - ]

'[#[PlugBot]
This abstract is currently only of historical interest, since PlugBot has taken an indefinite leave of absence from IRC.

'[l[http://battleofthebits.com/arena/Entry/plugbot+returns.gif/9245/[PlugBot] is an invention of '[l[http://battleofthebits.com/barracks/Profile/Jangler/[Jangler] which coexists with '[l[http://battleofthebits.com/barracks/Profile/Strobe/[Strobe]'s '[[BotB IRCbot[IRC bot] on #botb.

Commands can be invoked by any non-alphanumeric character followed by the command name at the start of a message. Using too many commands in a short time span in #botb may get you automatically kicked, and further abuse will get you a 5-minute kickban. Therefore, if you'd like to query PlugBot freely you may prefer to do so in private message or in #plugbot.

'[t[b3]Command list'[/t]
'[o]This command list may not necessarily be up-to-date, so check the output of the !commands command to see the current list of PlugBot's capabilities.'[/o]

'[o]-- Meta-commands --'[/o]

'[t[b2]!apropos'[/t] '[t[2]'[o]keywords'[/o]'[/t]
Lists PlugBot's commands that are relevant to '[o]keywords'[/o].

'[t[b2]!commands'[/t]
Lists all of PlugBot's commands.

'[t[b2]!plugbot'[/t]
Links to this page.

'[t[b2]!whatis'[/t] '[t[2]'[o]command'[/o]'[/t]
Gives a short help message for '[o]command'[/o].

'[o]-- BotB-specific commands --'[/o]

'[t[b2]!badge'[/t] '[t[2]'[o]format'[/o]'[/t] OR '[t[b2]!hosts'[/t] '[t[2]'[o]format'[/o]'[/t]
Lists BotBrs who have a badge for '[o]format'[/o].

'[t[b2]!bgrep'[/t] '[t[2]'[o]query'[/o]'[/t]
If '[o]query'[/o] is an integer, links to the BotB battle with that ID number. Otherwise, links to the battle whose title most closely matches '[o]query'[/o].

'[t[b2]!egrep'[/t] '[t[2]'[o]query'[/o]'[/t]
If '[o]query'[/o] is an integer, links to the BotB entry with that ID number. Otherwise, links to the entry whose title most closely matches '[o]query'[/o].

'[t[b2]!fact'[/t]
Gives a random statistic about BotB.

'[t[b2]!joogle'[/t] '[t[2]'[o]botbr'[/o]'[/t]
Links to '[o]botbr'[/o]'s '[[Joogle] metaprofile.

'[t[b2]!ladder'[/t]
Links to the Joogle ladder page.

'[t[b2]!lgrep'[/t] '[t[2]'[o]query'[/o]'[/t] OR '[t[b2]!lyceum'[/t] '[t[2]'[o]query'[/o]'[/t]
Links to the BotB lyceum article with title most closely matching '[o]query'[/o]. This command is '[b]slow'[/b] because the lyceum is slow.

'[t[b2]!markov'[/t] '[t[2]'[o]nick'[/o]'[/t]
Prints a '[l[http://en.wikipedia.org/wiki/Markov_chain[Markov chain]-generated '[[IRC] message from '[o]nick'[/o] (or from a random nick if the nick was not found or not specified). Due to limitations in the IRC log format, this will only work for nicks of 11 characters or less.

'[t[b2]!tag'[/t] '[t[2]'[o]tag'[/o]'[/t]
Links to the BotB tag page for '[o]tag'[/o].

'[t[b2]!tgrep'[/t] '[t[2]'[o]tag'[/o]'[/t]
Links to the BotB entry tagged with the largest instance of '[o]tag'[/o].

'[o]-- Auxiliary commands --'[/o]

'[t[b2]!ddg'[/t] '[t[2]'[o]query'[/o]'[/t]
Gives the resulting URL from a '[l[http://duckduckgo.com/[DuckDuckGo] search for '[o]query'[/o]. Check out the list of '[l[http://duckduckgo.com/bang.html["bangs"] you can use to directly search many other sites.

'[t[b2]!define'[/t] '[t[2]'[o]word (category)'[/o]'[/t]
Gives the definition of '[o]word'[/o] from '[l[http://www.wiktionary.org/[Wiktionary]. If the optional parameter '[o]category'[/o] is given (enclosed in parentheses), PlugBot will try to find a definition relevant to that category.

'[t[b2]!hz'[/t] '[t[2]'[o]pitch'[/o]'[/t]
Calculates the frequency of '[o]pitch'[/o] in hertz. '[o]pitch'[/o] should be specified in '[l[https://en.wikipedia.org/wiki/Scientific_pitch_notation[scientific pitch notation]. 

'[t[b2]!link'[/t] '[t[2]'[o]pattern'[/o]'[/t]
Searches an IRC log for the last URL matching '[o]pattern'[/o].

'[t[b2]!nsfmania'[/t]
Tells the remaining time for the current NSFMania submission or voting period.

'[t[b2]!ruby'[/t] '[t[2]'[o]expression'[/o]'[/t]
Evaluates '[o]expression'[/o] in a restricted '[l[https://www.ruby-lang.org/en/[Ruby] environment.

'[t[b2]!scgrep'[/t] '[t[2]'[o]query'[/o]'[/t]
Gives the first SoundCloud track from a search for '[o]query'[/o].

'[t[b2]!shorten'[/t] '[t[2]'[o]url'[/o]'[/t]
Shortens '[o]url'[/o] using Google's URL shortener (goo.gl).

'[t[b2]!wolfram'[/t] '[t[2]'[o]query (info)'[/o]'[/t]
Gives the result from Wolfram|Alpha for '[o]query'[/o]. If the optional parameter '[o]info'[/o] is given, PlugBot will try to find a result with a matching title.

'[t[0]'[o]-- secret commands? --'[/o]'[/t]

'[t[b3]Contributing'[/t]
Writing a new command for PlugBot is dead simple. Simply create an executable script file (for Python, Ruby, Bash, et cetera). The script will be executed when a command with the script's filename is invoked. The channel, nick, and parameter string of the command invocation are given as the first three arguments to the program, and the script's standard output is redirected to IRC. If you've written a command you'd like to be included, just talk to Jangler on '[[IRC].

For a !whatis help message to be printed, include a comment in the script in the format "HELP: ".

Confused? See the '[l[http://pastie.org/private/1rqvblnrbtezowem4nlayw[source code] for the !tag command.

 
C A T E G O R I E S
 
 
BotB Help
1 I Registered-Now what · About · Admin · Auto-Favorite · Avatar · 【日本語】ヌーブ(クラス) · 【日本語】フィルキーマークアップ · 【日本語】フォーマット · 【日本語】BotBrクラス · 【日本語】現在のメージャーバトルの情報和訳 · 【日本語】XHB · 〔日本のBotBr向け〕 バトル · 〔日本のBotBr向け〕 用語・造語辞典 · Badges · Battle of the Bits Lyceum · Bio art · BotB CC License · BotB IRCBot · botb.club · Chips Challenge · Complete list of ripped chiptunes repositories · CreepSmash_Hotkeys · donate · Entry of the day · Firki Markup · Format · Genny VST · Glossary · Home Bunk · I Am New To AYM · I Am New To FM Synthesis · I Am New To Harmony · I Am New To Music Theory · I Am New To NSF · I Am New To Pixeling · I Am New To Poetry and Writing Lyrics · I Am New To pxtone · I Am New To ZXBeep · Icons · Intro to Subtractive Synthesis · Joogle · List of current ChieVrs · List of Icons · List of legal XG patches · List of Scales · Lyceum Usage · Maximizing Artistic Productivity · Minecraft · Music Theory - Case Examples and Analysis · Music Theory - History of Modern Theory and Tonality · Player Visualizer · Playlists · Private Message · Sheet Music · Smeesh Hotkeys · Specification of General MIDI and Roland MT-32 patches · temp · The Hall of Knowledge · Trophy · Tutorials · Understanding BotB · Uploading Pics · Upper Structure Triad · Vombot · XHB Hosting · XHB Vlogs
 
 
 
BotB Terminology