Posted: Sat Sep 03, 2005 7:56 pm Post subject: Aiden (BETA)
Aiden is my new bot project. I've quit work on CodyCKS, RiveCKS, and AzulianBot, so I can put much more priority on this bot.
This is a beta version of the bot.
When its bot code is completed it will be released. However, be warned that this code is very plugin-driven, and my released versions will be stripped of all (or most) of the plugins so you won't just instantly have a clone of this bot.
The first thing you may notice about this bot is that it doesn't have any commands. No traditional style of commands anyway. No !menu or !about, those kinds of things. ALL commands on this bot are created using Alpha reply code, so they're plain English without command characters.
For a snippit of its menu code:
Code:
// AiChaos Aiden Project //
///////////////////////////
// Main Menu
// Created: 2:13 PM 9/3/2005
+ home
- {topic=menu}Welcome to <b>home</b>, {<name}! Here's what I can do:\n\n
^ 1. Fun and Games\n
^ 2. Misc.\n\n
^ Type "<b>quit</b>" to exit the menu!
+ menu
@ home
> topic menu
+ 1
- {topic=random}Fun and Games Menu\n\n
^ aol - 101 Uses for an AOL Disc\n
^ azulian name - Random Azulian Names\n\n
^ Type "<b>home</b>" to go back to the main menu!
+ 2
- {topic=random}Misc Menu\n\n
^ botmaster login - Botmaster-Only!\n\n
^ Type "<b>home</b>" to go back to the main menu!
+ quit
- {topic=random}Leaving the menu. Type "<b>home</b>" at any time to come back to the menu!
+ *
- {topic=random}Remember, you can type "<b>home</b>" at any time to see what kind of cool stuff I can do!
< topic
Bot Contact Information
The beta bot will only be reachable over AOL Instant Messenger. Its screenname is AidenCKS. When its code is completed I'll promote it again with its full contact information, including MSN Messenger and possibly any other means of contact implemented by then. _________________ Current Site (2008) http://www.cuvou.com/
It's plain english in the sense that Visual Basic is plain english. IE, you don't need fuckloads of syntax. I, however, find this incrediably annoying (VB). _________________ ~ Josh
[ Need bot hosting on a dedicated server? PM me. ]
Plain English? Looks more like complex coding to me.
What he means is the COMMANDS are in plain english..DUH! lol _________________ Check out Botworld! A dev resource for things bot.
Downloads, articles, news, fourm and more.
http://botworld.marzopolis.com
I've just completed the MSN portion of the bot. It's using my in-general testing passport right now because AiChaos.com is down so I can't get e-mails through there to get it a new passport.
But the beta part of it's almost over.
As for a sneak peek of how its code is plugin-based:
Listeners
Adding listeners is easy: make a file in the "listeners" folder named after the listener (AIM => AIM.pl) and a folder with the same name ("AIM"). The folder is for its specifically-needed files, handlers. And the source of this exampled AIM.pl is as follows:
So adding a new listener is as easy as defining how its init and callback methods are called and then putting the handler files in its own folder. If you don't catch on how it's formatted from reading over that.... I'll probably include a few notes here and there in the released code. _________________ Current Site (2008) http://www.cuvou.com/