Omnimaga
General Discussion => Technology and Development => Computer Projects and Ideas => Topic started by: Sorunome on December 22, 2012, 06:08:47 pm
-
Ok, I thought I'd make now a list of my IRC bots........
Well, first, all the bots that reply with the nickname Sorunome are then as a plugin for my self-programmed plugin manager
sooooooooooo let's go!
AxeBot
Usage:
@axe <command>
.axe <command>
Output:
Searches in the readme, .axe is pm
Advanced (still buggy):
[@.]axe (prgm|app|fusion) <command>
Outputs the size
LibBot
Usage:
@<lib> <command>
.<lib> <command>
Output:
Searches in Basic libs. put as <lib> all to search in all libs
GramBot
Usage:
@gram(|mer) <command>
.gram(|mer) <command>
Output:
Again, searches for the command
BasicBot
Usage:
@basic <command>
.basic <command>
Output:
Guess
DerpyBot
Usage:
complicated, check out my other topic about it http://ourl.ca/16809
it is for managing omnomirc pm over efnet
test
Usage:
test
Output:
Test received
google
Usage:
[>@]google <phrase>
Output:
First google result
Brainf*ck
THIS BOT IS SILENTED ON #omnimaga, you can still use #omnimaga-spam
Usage:
@bf <code>
Output:
The output of brainf*ck code (for input: put all your input afterwards seperated with a space, so ,.,. hi outputs hi)
[@>]omnimaga
uses google to search omnimaga, so i just a shortcut for >google site:omnimaga
@md5
duh
@ping
pings a website, works like isup.me, only timeout time is one minuet, lol
@calc <stuff>
it uses sympy, so if you want to know how to use it look up how to use sympy
only variables declared so far are k,n,x,y,z if you want any more, poke me
@ddg <stuff>
Look up stuff on duck duck goes api!
Well, that's it already (i think)
If you have any questions ask
I will update this list
-
I added @md5 and @omnimaga (uses google for searching)
If you have any ideas, feedback or suggestions please post about it, i will add it no matter how complicated, maybe i'll try meself on a time machine/me runs
-
Yay! A time machine!/me is watching back to the future atm
What's md5?
-
it gives you the md5 hash of the string
and yay, i love back to the future :D
-
Fun fact: My bots are spread over 3 servers: 57o9.org, withg.org and my server.
And the databases are not always on the same server where the bot is running.
-
Ok, I silented now brainfuck after admin request on #omnimaga as people were keep playing around with it and it got pretty spammy :P
Thanks to jacobly it also features inptu now, so @bf ,.,. hi outputs hi
-
You should put it in the sapam chan if not already :P
-
It is everywhere where i am, I am in spam channel so it is there :P
-
So you cannot be in #omnimaga while your bot is in #spam? that's kinda sad, isn't it?
-
Erm, yeah, the bot is EVERYWHERE where i am.
I only made it not work in #omnimaga (the brainfuck bot) because people were spamming the channel with it,
-
How do you have your bot have the same name as you?
-
Well, I have ZNC, that is basically a program running on a server that connects to irc for me. So I am first ALWAYS online on irc.
To chat now on irc i connect to that program instead of the normal IRC network, and my bots also connect to my program :D
-
So you and your bot connect to znc, which connects to actual irc
-
Yes, so it is :P
But
it is only one bot, which is a plugin manager and all the other 'bots' are plugins i programmed for my plugin manager >.>
-
Yes, so it is :P
But
it is only one bot, which is a plugin manager and all the other 'bots' are plugins i programmed for my plugin manager >.>
Lol, and i was happy to have a bot running that could search the internets through google xp nice work sorunome :)
-
Haha, thanks, and one of my plugins is googlel.... :trollface:
-
BTW, do you guys remember the Creepy Story on Halloween? http://ourl.ca/17342
It was also done via my plugin manager i programmed! :D (that was actually the birth of it, lol)
-
New plugin!
@ping <website>
pings the website (in other words, checks if it is online)
-
How long does it take before a return value is -guess what- returned?
-
depends on the website
-
Ok, many of my bots, short, all the ones connected to my ZNC, will have an upcoming downtime this (for me) night (pacific timezone)
Why?
My server is getting more RAM! :D They just have to shut it down for that.
-
So, i finally got out of my way to add a error message for if googling doesn't return anything :D
-
ok, added CAS
@calc <stuff>
it uses sympy, so if you want to know how to use it look up how to use sympy
only variables declared so far are k,n,x,y,z if you want any more, poke me
-
@calc now (finally) features error output :)
-
You merged Calc84maniac with yourself? O.O
Just kidding, nice additions. :)
-
Bad news: jim found a bug in my bot which would have allowed modding files, to protect myself he deleted the bot file, but nows a problem, i didn't have a backup of it............so i'll have to start from scratch >.>
Maybe this time i'll do propper sandboxing
-
Hmm, really sorry that happened. It wasn't even my intention (I have no idea how the file got removed..)...
What I did was "cat front cas.py", seeing that the output was correct I did "cat front cas.py>cas.py". I should have made a backup of it first though...
-
Hmm, really sorry that happened. It wasn't even my intention (I have no idea how the file got removed..)...
What I did was "cat front cas.py", seeing that the output was correct I did "cat front cas.py>cas.py". I should have made a backup of it first though...
Ha, well, no offence taken, it is my problem in first case if i don't make a proper sandbox.
So yeah, now i got a question.....how can i properly sandbox python?
and maybe it is easier, can i somehow, easily, set up a virtual enviroment in lua and then call python?
EDIT: I already restored the old code, added dict as a keyword and now looking up how to properly sandbox.
-
Aw too bad you didn't have backups. Although I guess it was better if it was removed for now if it was too dangerous.
-
Ha, i ninja'd you with 1 second of editing my post :P
-
Perhaps you can look into PyPy Sandbox doc.pypy.org/en/latest/sandbox.html
It's supposed to be extremely safe even to run mslicious scripts as they won't be able to access the system.
-
So yeah, my plugin manager is SOOOOO AWESOME now! (sorry, i'm too excited)
I know, these are all functionalities only i can use, but still :D
So yeah, when loading plugins now, it saves them in a config.cfg file. Overall it saves all the configurations in said file.
I also added that i can activate each plugin individually for each channel - no need anymore to like hardcode the plugins silent on #cemetech!/me is soooooo excited!
:w00t: :w00t: :w00t:
-
Good to hear. It was often a chore for bot owners to remove colors when putting their bots elsewhere, disable swearing, some game features, etc, and in many cases, they ended up being enabled again for a reason or another.
-
So, i added now the random number library to the cas bot.
I also defined rand as random, so that you can do rand() AND random() to get a random float between 0 and 1.
Any more math libraries i should add?
-
so yeah, if you post now a youtube URL it'll tell you the title.
Seems like rickrolling isn't that straight-forward anymore these days :trollface:
-
But how will that prevent me from uploading a rickroll to my own channel and naming it into something else so that I can trick people? :P
-
nuuu, don't be so evil :P
-
When I was at ConkerZone with my friend SquirrelGrunt, we uploaded a video called "Rare's big announcement at E3 2009" or something like that, and it was Rick Astley mixed with parts of the trailer for Kinect Sports. Nor the title, nor the thumbnail, nor the description gave away that it was a rickroll.
I see people doing things like that in the future.
-
I see people doing things like that in the future.
I see this happening a lot in the past as well.
-
I guess it's a good thing to tell the title. It should hopefully discourage spam a little bit as well as tricking people into watching extremely loud videos.
As for rickroll videos themselves, nowadays when you upload them, even if you change the thumbnail the video gets blocked worldwide by copyright bots anyway.
-
You just have to change the pitch a bit and it won't get blocked ;)
Also, that was just a little joke on my side with the rickroll, didn't even expect a disscussion arrising from that XD
-
Nobody ever does.
(http://reflexionesdesdebaetulo.files.wordpress.com/2010/07/spanish-inquisition.jpg)
-
You just have to change the pitch a bit and it won't get blocked ;)
Also, that was just a little joke on my side with the rickroll, didn't even expect a disscussion arrising from that XD
Oh right I forgot about that :P
And yeah I thought so, I just noticed more and more people linking to misleading rickrolls on IRC in the past few months (probably taking advantage that rickrolling is rare nowadays and thus, unexpected). :P
-
But that is a paradox, making it more expected, stopping the rickrolls, and then making them unexpecting again and GWAH! *explode*
-
Added basic syntax highlighting for CAS bot! :D
-
Fixed that issue wtih random replies to old messages, it was a issue with parsting /me messages from omnomirc
-
That means no more scare basicbot? :(
-
basicbot is offline :P
And i have no idea where the basicbot scare originates from, it uses a whole different engine than DerpyBot, thus also the different nick, i'll have to re-program it as a DerpyBot plugin.
-
Some people found the bot scary?? O.O
-
it randomley repeated previousley said lines O.O
-
Wow that is strange. ???
-
I know!
If anybody feels like trying to find the mistake: http://pastebin.com/fR1dajPN
C++ btw
-
Finnally managed to do some real timeout handling on DerpyBot instead of having the script be in a while true loop without any puase....
Result:
From the CPU usage of 90% it is now all the way down to 0.1% :D
-
Eeems must be glad that that bot wasn't hosted on Omni server :P
-
funny how the thing on my server that noms most CPU is now my own instance of OmnomIRC :P
-
So yeah, new plugin, DuckDuckGo, @ddg, haven't quite figured out yet what it does, i just basically made it look up duck duck goes api
-
DerpyBot should be extended so that when someone posts a ticalc.org archives or news link it shows the file/news title, like how it shows Youtube video titles.
-
Ah, good idea, won't be too hard to do :)
-
Maybe you could have a bot where if someone types !bug <username> or something like that then the bot replies <username>: Please submit your bug report via http://ourl.ca/issue and feature requests via http://ourl.ca/request so that admins are notified ASAP. Thank you.
Kinda like !intro <username> in #Cemetech where the bot tells a new user to introduce himself :P. It would make it easier when someone reports a big site issue that only admins can fix.
Perhaps an !admin command too (with option for username if you want to highlight him), where the bot responds with "<username>: Please contact only the actual site admins listed in blue color at http://www.omnimaga.org/team if you have questions or concerns about the website or IRC channel. Other users cannot help you on such matters." :P
The first feature would be handy when people keep posting bug reports on IRC, especially those who aren't very active, and the second feature would be handy when people starts bugging me or other non-admins like juju about site issues.
-
hm, maybe....
-
There is @weather now ^.^
-
The new DerpyBot is here, shinier than ever!
It is a 100% re-write in python, with IMO way more features concerning plugin management ^.^
Also you have @cas again ^.^
-
Aaaaaand now @axe is back again ^.^