Forums - Open Redstone Engineers

Full Version: LadBot, a simple IRC bot. Who wants to contribute?
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hi! I wrote an IRC bot:

https://github.com/mortie/LadBot

Originally, the bot was to keep track of 'ladpoints'; points people in the IRC channel give to or take from each other. However, I ended up adding some utility features to it, like calculating math, timer, and afk functionality.

Now, for anything you tell the bot to do, it responds with a random message. However, I have trouble coming up with good messages. If you're feeling creative, I'd appreciate some help. A list of files containing the random messages are in the contribute section.

Suggestions for new useful utilities is also most welcome.

If you wanna check this bot out live, have a chat with CarlBot at #squirrels@irc.esper.net!
Can you program in a binary conversion tool?
Added a base conversion tool: https://github.com/mortie/LadBot/commit/...fb7677c6d6

Code:
convert [number] to base [base]
converts a number to a base. Tell it to convert to base 2, and you'll have your binary conversion Smile
I will contribute!
(07-10-2014, 12:53 AM)mort96 Wrote: [ -> ]Added a base conversion tool: https://github.com/mortie/LadBot/commit/...fb7677c6d6

Code:
convert [number] to base [base]
converts a number to a base. Tell it to convert to base 2, and you'll have your binary conversion Smile

And from binary to decimal? I've needed that alot.
I added that too:
Code:
[number] from base [base] to base [base]

So you could do:
Code:
11100011011001 from base 2 to base 10
That's cool. Is it up now? I wanna test it :3.
ya, it's up. Head off to #squirrels@irc.esper.net Smile