This is the new home of the egghelp.org community forum.
All data has been migrated (including user logins/passwords) to a new phpBB version.


For more information, see this announcement post. Click the X in the top right-corner of this box to dismiss this message.

How can I add things to megahal's brain?

Old posts that have not been replied to for several years.
Locked
3
3zzy
Halfop
Posts: 42
Joined: Sun Sep 14, 2003 6:58 am

How can I add things to megahal's brain?

Post by 3zzy »

I can't do it in a text editor, otherwise how can I add, for example a movie script, or a book in my megahal's brain?
b
b34r
Voice
Posts: 35
Joined: Wed Jun 18, 2003 4:09 pm

Post by b34r »

Delete megahal.brn
create a text file called megahal.trn with all the tex you want.
The you load the module
Then when you do a .save , a megahal.brn file willl show up.
3
3zzy
Halfop
Posts: 42
Joined: Sun Sep 14, 2003 6:58 am

Post by 3zzy »

Thanks! It worked very fine! I just also wanted to ask if it's possible to add stuff to it's brain with some alternative way than just talking to him..
User avatar
BarkerJr
Op
Posts: 104
Joined: Sun Mar 30, 2003 1:25 am
Contact:

Post by BarkerJr »

Well, there's always the Tcl commands like learn. One could probably code a loop to teach the bot stuff. If you know Tcl :)
3
3zzy
Halfop
Posts: 42
Joined: Sun Sep 14, 2003 6:58 am

Post by 3zzy »

No, I don't =(
But I was wonderin, if it is possible for exaple to give a bot somelink in channel or dcc, the bot will go to this page and add it's contents to it's brain?
User avatar
BarkerJr
Op
Posts: 104
Joined: Sun Mar 30, 2003 1:25 am
Contact:

Post by BarkerJr »

Yes, very possible. That's quite beyond my knowledge, though. I've never done anything with HTTP in Tcl.
r
ribot
Voice
Posts: 17
Joined: Mon Sep 08, 2003 4:01 pm
Location: eggbeer
Contact:

Post by ribot »

either learn tcl or maybe there is some tcl script that can catch text from a url. then you just make the bot learn it :]
Locked