Computer Science Canada

#compsci.ca IRC Bot

Author:  Dan [ Fri Apr 21, 2006 11:11 am ]
Post subject:  #compsci.ca IRC Bot

As some of you may know i am working on a new bot for our irc room (CompSci.ca IRC) that will be intregated in to the site CompSci.ca as well. This will allow for some cool things and i was whondering if any one had any methods/classes they whould like to make for it or had any ideas to add to it. It is curently being writen in java.

To see what it curently can do login and type "~help".

Author:  rizzix [ Fri Apr 21, 2006 11:21 am ]
Post subject: 

just give me access to the source code and i'll help you out dan. Smile

Author:  Dan [ Fri Apr 21, 2006 11:30 am ]
Post subject: 

Well noramly i whould but there are some things in it that may have access codes to the compsci.ca mysql servers and such Razz.

What whould you do to it?

Author:  Dan [ Fri Apr 21, 2006 11:33 am ]
Post subject: 

I am also looking for some one to write a php or ruby on rails front end for the loging part of the bot. The bot puts each line/comand in to a mysql data base with all the info about who sent it and what it is and such. I whont to make the logs searchable and display nice live on the site.

Author:  rizzix [ Fri Apr 21, 2006 11:34 am ]
Post subject: 

uh.. dunno i thought you needed help developing? Razz

well what you can do dan is make use of resource bundles and property files.. that is get the info from a property file (don't hard code it).. this way folks like me can work on it too.. Smile

Author:  Dan [ Fri Apr 21, 2006 11:35 am ]
Post subject: 

Ah, add ons whould be a good thing. Any links to sites or tutorals about resource bundles and property files?

Or i just could just let peoleop make classes that extened it....

Author:  rizzix [ Fri Apr 21, 2006 11:36 am ]
Post subject: 

maybe java almanac...

edit:

property files.. Reading and Writing a Properties File & Getting and Setting Properties

Author:  rizzix [ Fri Apr 21, 2006 11:42 am ]
Post subject: 

hehe dan, just give me code acces i can develop a complete plugins system.. with dynamic loading etc.. all that 1337 stuff.

Author:  Dan [ Fri Apr 21, 2006 11:47 am ]
Post subject: 

Well it is not that i dougth you could, in fact i blive you could do some admazing sutff that whould be much better then mine but another goal of this project of mine is to teach me more about such things. And if i do it my self it maybe messy but i will learn alot more. If you like i could still show you the sorce but not publicly on the fourms =p.

Author:  Mazer [ Fri Apr 21, 2006 12:05 pm ]
Post subject: 

OK, so...
- X3
- Minsc_bot
- idd
- rizzix's bot
- lain

Am I missing any? Wink
But please, for any responses the entire channel doesn't need to see, please keep them in /msg's. (Same for commands)

Author:  Dan [ Fri Apr 21, 2006 12:31 pm ]
Post subject: 

Well the plan for my bot is to make things easyer in the channel by providing infomation functions such as a link to sreach compsci.ca, links to tutorals, sreach google, sreach compsci.ca wiki, find a wiki page, and lots more.

The idea is to intreagete the site with irc thew the bot and give us some more functainlity that we have on the fourms.

My bot will be able to take comands threw msgs or the channale. And i am making it repsond aporityly. I am curently working on making some measures to stop it from spaming.

Edit: Also the room is #compsci.ca affter all, i whould think lots of uers created bots whould be cool as long as they do not spam or have the same trigger.........and pops stays away from them...

Author:  rizzix [ Fri Apr 21, 2006 12:54 pm ]
Post subject: 

Hacker Dan wrote:
Well it is not that i dougth you could, in fact i blive you could do some admazing sutff that whould be much better then mine but another goal of this project of mine is to teach me more about such things. .


ah.. hmm how about this.. I'll create a plugin system.. you integrate it with your bot.. then everyone in compsci can try out creating plugins.. Smile (i mean all those without java-phobia)

Of course if you agree, we need to talk.. I need a some "interfaces".

Author:  rizzix [ Fri Apr 21, 2006 12:58 pm ]
Post subject: 

Mazer wrote:
But please, for any responses the entire channel doesn't need to see, please keep them in /msg's. (Same for commands)


Actually most of these bots reply to you they same way you chat with it. So, if you don't want the whole channel to be disturbed, just /msg the bot.. and it will /msg back.

Author:  timmytheturtle [ Fri Apr 21, 2006 2:18 pm ]
Post subject: 

Mazer wrote:
OK, so...
- X3
- Minsc_bot
- idd
- rizzix's bot
- lain

Am I missing any? Wink


Your missing Yertle

Author:  md [ Fri Apr 21, 2006 3:13 pm ]
Post subject: 

I dunno why all these bots are needed... searching hte wiki or compsci or google involves opening a web browser; just as it would with the bot... and hte people who are usually in the channel don't need to help searching usually Razz

One feature I would like to see is some sort of warning system; that way I can warn pops say twice and on the third time he'll be kicked and banned for X minutes.

And something to find out who's who would be nice too... all too often people are not who they seem...

Author:  timmytheturtle [ Fri Apr 21, 2006 4:21 pm ]
Post subject: 

Cornflake wrote:
and hte people who are usually in the channel don't need to help searching usually Razz


There are some people who need help searching *cough*pops*cough*

Author:  TheFerret [ Fri Apr 21, 2006 4:34 pm ]
Post subject: 

Cornflake wrote:
And something to find out who's who would be nice too... all too often people are not who they seem...


*cough*Pops*cough*... hmmm... what... ohh did I reply...

Author:  Dan [ Fri Apr 21, 2006 5:24 pm ]
Post subject: 

Cornflake wrote:

One feature I would like to see is some sort of warning system; that way I can warn pops say twice and on the third time he'll be kicked and banned for X minutes.

And something to find out who's who would be nice too... all too often people are not who they seem...


I realy whonted to add somthing like this but unfotnrly it is very hard to do securely since almost every idifitning factor of a user if not all can be chaged by the user. Even if it was based on hostmask that could be chaged by roating your ip. Authed users could simpley unauth, nicks and login names can be chaged....

Author:  Cervantes [ Fri Apr 21, 2006 6:03 pm ]
Post subject: 

timmytheturtle wrote:
Mazer wrote:
OK, so...
- X3
- Minsc_bot
- idd
- rizzix's bot
- lain

Am I missing any? Wink


Your missing Yertle

And butler_bot.

rizzix wrote:
hehe dan, just give me code acces i can develop a complete plugins system.. with dynamic loading etc.. all that 1337 stuff.

Surprised Topic 11761 - Go go go! Yes, it's Ruby, but that shouldn't stop you from offering advice. Smile


: