
-----------------------------------
Dan
Fri Apr 21, 2006 11:11 am

#compsci.ca IRC Bot
-----------------------------------
As some of you may know i am working on a new bot for our irc room ([url=http://compsci.ca/wiki/index.php?title=IRC_channel]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".

-----------------------------------
rizzix
Fri Apr 21, 2006 11:21 am


-----------------------------------
just give me access to the source code and i'll help you out dan. :)

-----------------------------------
Dan
Fri Apr 21, 2006 11:30 am


-----------------------------------
Well noramly i whould but there are some things in it that may have access codes to the compsci.ca mysql servers and such  :P. 

What whould you do to it?

-----------------------------------
Dan
Fri Apr 21, 2006 11:33 am


-----------------------------------
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.

-----------------------------------
rizzix
Fri Apr 21, 2006 11:34 am


-----------------------------------
uh.. dunno i thought you needed help developing? :P

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.. :)

-----------------------------------
Dan
Fri Apr 21, 2006 11:35 am


-----------------------------------
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....

-----------------------------------
rizzix
Fri Apr 21, 2006 11:36 am


-----------------------------------
maybe java almanac... 

edit: 

property files.. [url=http://javaalmanac.com/egs/java.util/Props.html]Reading and Writing a Properties File & [url=http://javaalmanac.com/egs/java.util/GetSetProps.html]Getting and Setting Properties

-----------------------------------
rizzix
Fri Apr 21, 2006 11:42 am


-----------------------------------
hehe dan, just give me code acces i can develop a complete plugins system.. with dynamic loading etc.. all that 1337 stuff.

-----------------------------------
Dan
Fri Apr 21, 2006 11:47 am


-----------------------------------
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.

-----------------------------------
Mazer
Fri Apr 21, 2006 12:05 pm


-----------------------------------
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)

-----------------------------------
Dan
Fri Apr 21, 2006 12:31 pm


-----------------------------------
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...

-----------------------------------
rizzix
Fri Apr 21, 2006 12:54 pm


-----------------------------------
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.. :) (i mean all those without java-phobia)

Of course if you agree, we need to talk.. I need a some "interfaces".

-----------------------------------
rizzix
Fri Apr 21, 2006 12:58 pm


-----------------------------------
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.

-----------------------------------
timmytheturtle
Fri Apr 21, 2006 2:18 pm


-----------------------------------
OK, so...
- X3
- Minsc_bot
- idd
- rizzix's bot
- lain

Am I missing any?  :wink: 


Your missing Yertle

-----------------------------------
md
Fri Apr 21, 2006 3:13 pm


-----------------------------------
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 :P

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...

-----------------------------------
timmytheturtle
Fri Apr 21, 2006 4:21 pm


-----------------------------------
and hte people who are usually in the channel don't need to help searching usually :P

There are some people who need help searching *cough*pops*cough*

-----------------------------------
TheFerret
Fri Apr 21, 2006 4:34 pm


-----------------------------------
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...

-----------------------------------
Dan
Fri Apr 21, 2006 5:24 pm


-----------------------------------

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....

-----------------------------------
Cervantes
Fri Apr 21, 2006 6:03 pm


-----------------------------------
OK, so...
- X3
- Minsc_bot
- idd
- rizzix's bot
- lain

Am I missing any?  :wink: 


Your missing Yertle
And butler_bot.

hehe dan, just give me code acces i can develop a complete plugins system.. with dynamic loading etc.. all that 1337 stuff.
:o [url=http://www.compsci.ca/v2/viewtopic.php?t=11761]Topic 11761 - Go go go! Yes, it's Ruby, but that shouldn't stop you from offering advice. :)
