| View previous topic :: View next topic |
| Author |
Message |
antigrav Voice
Joined: 09 Jul 2005 Posts: 2
|
Posted: Sat Jul 09, 2005 12:52 pm Post subject: MegaHal |
|
|
| Just installed megahal into the eggdrop and i can talk to it in dcc chat with .megahal prefix but I have no idea where or how to use +megahal or +freespeech commands or how to get it to talk in a channel. |
|
| Back to top |
|
 |
Alchera Revered One

Joined: 11 Aug 2003 Posts: 3344 Location: Ballarat Victoria, Australia
|
Posted: Sat Jul 09, 2005 1:31 pm Post subject: |
|
|
From the Command Console (DCC):
| Code: | | .chanset #channel +megahal +learnall +freespeech |
_________________ Add [SOLVED] to the thread title if your issue has been.
Search | FAQ | RTM |
|
| Back to top |
|
 |
antigrav Voice
Joined: 09 Jul 2005 Posts: 2
|
Posted: Sat Jul 09, 2005 9:19 pm Post subject: |
|
|
Thank You, that worked with the exception of free speech.
Is there some documentation for eggy use of hal?
<antigrav> .chanset #chan +megahal +learnall +freespeech
<bot> Error trying to set +freespeech for #eztv, invalid mode.
Also I'm wondering if there is any way to set it so that 'bot' doesn't have to be addressed directly to speak, also I'm thinking I might like to download a better personality if you have any suggestions. |
|
| Back to top |
|
 |
Alchera Revered One

Joined: 11 Aug 2003 Posts: 3344 Location: Ballarat Victoria, Australia
|
Posted: Sat Jul 09, 2005 10:28 pm Post subject: |
|
|
I just noticed I made a typo in previous post, sorry. It's +freespeak.
There are two example scripts that can be used in the ~megahal.mod/examples folder.  _________________ Add [SOLVED] to the thread title if your issue has been.
Search | FAQ | RTM |
|
| Back to top |
|
 |
Zero_Kewl Voice
Joined: 24 Oct 2005 Posts: 4
|
Posted: Mon Oct 24, 2005 6:38 pm Post subject: ARGH! |
|
|
Hi there,
I have been trying to install megaHAL for ages and never succeeded. When I do .chanset #mychan +megahal or .chanset #mychan +learn all. I get a message that says:
Error trying to set +learnall for #mychan, invalid mode.
Also, I have loaded one of the example TCL scripts (replyall.tcl) and everytime something is sais in the room, the bot states that 'learn' is not a valid command. Any help anyone would have for me would be very much appreciated. I have compiled the bot several times, and I can confirm that the bot has definitely loaded the module as I selected it diring 'make iconfig'.
Thanks
Daz |
|
| Back to top |
|
 |
Alchera Revered One

Joined: 11 Aug 2003 Posts: 3344 Location: Ballarat Victoria, Australia
|
Posted: Mon Oct 24, 2005 6:54 pm Post subject: |
|
|
1. Obtain megahal.mod.2.7.tar.bz2.
2. Place it in ~/eggdrop1.6.x/src/mod/
3. Decompress it: tar zxvf megahal.2.x.tar.gz
4. Go back to your ~/eggdrop1.6.x directory
5. make config
6. make
7. make install
8. Copy the megahal.??? files in src/mod/megahal.mod to your bot's directory
9. Edit you bot's *.conf file and add the line: loadmodule megahal
10. Rehash your bot _________________ Add [SOLVED] to the thread title if your issue has been.
Search | FAQ | RTM |
|
| Back to top |
|
 |
Zero_Kewl Voice
Joined: 24 Oct 2005 Posts: 4
|
Posted: Mon Oct 24, 2005 7:32 pm Post subject: |
|
|
I have done that at least 6 times
I must be going wrong somewhere! |
|
| Back to top |
|
 |
Alchera Revered One

Joined: 11 Aug 2003 Posts: 3344 Location: Ballarat Victoria, Australia
|
Posted: Mon Oct 24, 2005 11:02 pm Post subject: |
|
|
| Quote: | | Error trying to set +learnall for #mychan, invalid mode. |
The above line in the generated error tells me that this module is not being loaded correctly. If the 'loadmodule megahal' entry is definitely in your bots' configuration file then it should be loading. _________________ Add [SOLVED] to the thread title if your issue has been.
Search | FAQ | RTM |
|
| Back to top |
|
 |
Zero_Kewl Voice
Joined: 24 Oct 2005 Posts: 4
|
Posted: Mon Oct 24, 2005 11:07 pm Post subject: |
|
|
It's fixed! You were right! Although it said the module loaded, for some reason it did not. I think I am now on my 60th compile, and it seems to work. Neither of those two example scripts seem to allow the bot to work in the channel though, as it only responds in PM when you use it's nick. I am learning TCL so I should be able to make a small piece of code to do the job. Thanks for your help  |
|
| Back to top |
|
 |
Zero_Kewl Voice
Joined: 24 Oct 2005 Posts: 4
|
Posted: Tue Oct 25, 2005 11:54 am Post subject: |
|
|
| Hmmm, when I do .chanset #mychan -megahal -freespeak -learnall the bot still talks in the channel. How can I deactivate it without unloading the module? |
|
| Back to top |
|
 |
|