Author |
|
TheGouldFish Honourary Member

The Mapper
Joined: 05 June 2003 Location: Scotland Posts: 3456
|
Posted: 03 November 2006 at 12:19pm | IP Logged
|
|
|
For the ones that are on the IRC channel, I've started work on a bot for us called colaBot.
Currently "V0.6 - brubot" is running on the server.
Current commands are:
~add <item> (is|are) <description>
<item> is a single word
<description> can be multiple words or built in commands
(is|Are) will make the <item> the first thing in the description.
eg. ~website is www.here.com
~thewebsite www.here.com
~website
<Colabot> website is www.here.com
~thewebsite
<Colabot> www.here.com
There are the following built in commands:
$action makes colabot do an action (/me), needs to be first.
$0 to get back the command name.
and $1 and greater to get users input
eg. ~add hug $action hugs $1
~hug colabot
* Colabot hugs colabot
~<item> to call back the description
~replace <item> <description> replaces the description
~remove <item> <description> removes the description
~slap <user> : to slap a user.
~addslap <thing> to add something to the slaps
~lastseen <user> to find when the bot last spotted the user
~toptalkers will print out a list of the top 5 talkers.
~quote <Something> to add a quote
~quote to call back a random quote
~version for the current version of the bot
~help
Edited by TheGouldFish on 17 November 2006 at 4:06pm
__________________ TheGouldFish
=============
Fear the Fish
|
Back to Top |
|
|
Mojo Jojo Moderatus

Sir Sleeps Alot
Joined: 14 November 2002 Location: Scotland Posts: 1916
|
Posted: 03 November 2006 at 12:23pm | IP Logged
|
|
|
download XNA and make a feckin game you bum...It couldnt be easier...
__________________ The two most common elements in the universe are Hydrogen and stupidity.
|
Back to Top |
|
|
Dud.TraP Imba Community Member

Liability
Joined: 05 December 2005 Location: United Kingdom Posts: 666
|
Posted: 03 November 2006 at 12:46pm | IP Logged
|
|
|
dude i could have done hat in 20 mins, how did that take you 3 hours?
|
Back to Top |
|
|
TheGouldFish Honourary Member

The Mapper
Joined: 05 June 2003 Location: Scotland Posts: 3456
|
Posted: 03 November 2006 at 1:41pm | IP Logged
|
|
|
well most of the 3 hours was trying to work out why my java JAR file did not work on my linux box (and the installing of a real JRE on it).
but I should be able to add lots of functions now I can test it.
Oh did I say I was writing it in Java?
Mojo I hvae the XNA, but untill the last few days I hvae had not will to code outside of work.
__________________ TheGouldFish
=============
Fear the Fish
|
Back to Top |
|
|
Grizzler Site Admin

Janitor
Joined: 13 Febuary 2003 Location: Norway Posts: 5192
|
Posted: 03 November 2006 at 1:44pm | IP Logged
|
|
|
Anyone remember the Fishbot? XD
__________________
|
Back to Top |
|
|
Mojo Jojo Moderatus

Sir Sleeps Alot
Joined: 14 November 2002 Location: Scotland Posts: 1916
|
Posted: 03 November 2006 at 2:58pm | IP Logged
|
|
|
TheGouldFish wrote:
Mojo I hvae the XNA, but untill the last few days I hvae had not will to code outside of work. |
|
|
Call yourself a coder....pfft
__________________ The two most common elements in the universe are Hydrogen and stupidity.
|
Back to Top |
|
|
TheGouldFish Honourary Member

The Mapper
Joined: 05 June 2003 Location: Scotland Posts: 3456
|
Posted: 03 November 2006 at 4:04pm | IP Logged
|
|
|
yeah I'm a coder do spends far too much time at work looking at a laptop or a monitor so I enjoy a nice book when I get home :)
But the stress is getting "abit smaller", and I'm getting some real sleep so hopefully I will be more up for coding soon.
I bet you want me to start XNA coding so we can work on a project and get me to do all the hard work ;)
__________________ TheGouldFish
=============
Fear the Fish
|
Back to Top |
|
|
Mojo Jojo Moderatus

Sir Sleeps Alot
Joined: 14 November 2002 Location: Scotland Posts: 1916
|
Posted: 03 November 2006 at 4:36pm | IP Logged
|
|
|
I need a really good, fast per pixel collision detection algorithm.
__________________ The two most common elements in the universe are Hydrogen and stupidity.
|
Back to Top |
|
|
TheGouldFish Honourary Member

The Mapper
Joined: 05 June 2003 Location: Scotland Posts: 3456
|
Posted: 06 November 2006 at 4:24pm | IP Logged
|
|
|
Well I've taken the bot upto version 0.4 over the weekend.
New commands are in the first post, but I will add that a ~help option has been added.
__________________ TheGouldFish
=============
Fear the Fish
|
Back to Top |
|
|
TheGouldFish Honourary Member

The Mapper
Joined: 05 June 2003 Location: Scotland Posts: 3456
|
Posted: 17 November 2006 at 4:07pm | IP Logged
|
|
|
It's now upto "V0.6 - Brubot", this has a completely new user handeling system, so it now remembers all the nicks you use (and how long you are a nick) and the lastseen system works :)
The code is also now kept in my CVS repository :D
__________________ TheGouldFish
=============
Fear the Fish
|
Back to Top |
|
|
edddeduck Honourary Member


Joined: 11 Febuary 2003 Location: United Kingdom Posts: 187
|
Posted: 22 November 2006 at 2:18pm | IP Logged
|
|
|
Mmm.... I just moved all my CVS stuff into SVN, moving 8 GB of source is fun to say the least.......
But repositories are a great thing in the past my code used to float in the ether and then crust up, now it crusts up in a nice storage server. :)
__________________ This is Edds new sig! :D
|
Back to Top |
|
|
TheGouldFish Honourary Member

The Mapper
Joined: 05 June 2003 Location: Scotland Posts: 3456
|
Posted: 22 November 2006 at 3:46pm | IP Logged
|
|
|
yeah I hvae code all over the place, so I'm wanting to get it all together and then setup cron jobs to back it all up.
I was thinking of using SVN but the fact that eclipse has built in suport for CVS made up my mind.
__________________ TheGouldFish
=============
Fear the Fish
|
Back to Top |
|
|
Dud.TraP Imba Community Member

Liability
Joined: 05 December 2005 Location: United Kingdom Posts: 666
|
Posted: 22 November 2006 at 4:02pm | IP Logged
|
|
|
f**k me its edd de duck? where did you come from havnt seen you in years :D
|
Back to Top |
|
|
edddeduck Honourary Member


Joined: 11 Febuary 2003 Location: United Kingdom Posts: 187
|
Posted: 22 November 2006 at 5:10pm | IP Logged
|
|
|
Dud.TraP wrote:
f**k me its edd de duck? where did you come from havnt seen you in years :D |
|
|
Well after I realised Philp Scofield spent much of my childhood years mollesting me with his hand up my arse I took a few years off, traveled the world and found my inner calm with the help of Pete Docherty, Kate Moss, The Dali Lama and a crack pipe.
How about you?
__________________ This is Edds new sig! :D
|
Back to Top |
|
|