egghelp.org community Forum Index
[ egghelp.org home | forum home ]
egghelp.org community
Discussion of eggdrop bots, shell accounts and tcl scripts.
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

MegaHal

 
Post new topic   Reply to topic    egghelp.org community Forum Index -> Modules & Programming
View previous topic :: View next topic  
Author Message
antigrav
Voice


Joined: 09 Jul 2005
Posts: 2

PostPosted: Sat Jul 09, 2005 12:52 pm    Post subject: MegaHal Reply with quote

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
View user's profile Send private message
Alchera
Revered One


Joined: 11 Aug 2003
Posts: 3344
Location: Ballarat Victoria, Australia

PostPosted: Sat Jul 09, 2005 1:31 pm    Post subject: Reply with quote

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
View user's profile Send private message Visit poster's website
antigrav
Voice


Joined: 09 Jul 2005
Posts: 2

PostPosted: Sat Jul 09, 2005 9:19 pm    Post subject: Reply with quote

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
View user's profile Send private message
Alchera
Revered One


Joined: 11 Aug 2003
Posts: 3344
Location: Ballarat Victoria, Australia

PostPosted: Sat Jul 09, 2005 10:28 pm    Post subject: Reply with quote

I just noticed I made a typo in previous post, sorry. Embarassed It's +freespeak.

There are two example scripts that can be used in the ~megahal.mod/examples folder. Smile
_________________
Add [SOLVED] to the thread title if your issue has been.
Search | FAQ | RTM
Back to top
View user's profile Send private message Visit poster's website
Zero_Kewl
Voice


Joined: 24 Oct 2005
Posts: 4

PostPosted: Mon Oct 24, 2005 6:38 pm    Post subject: ARGH! Reply with quote

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
View user's profile Send private message
Alchera
Revered One


Joined: 11 Aug 2003
Posts: 3344
Location: Ballarat Victoria, Australia

PostPosted: Mon Oct 24, 2005 6:54 pm    Post subject: Reply with quote

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
View user's profile Send private message Visit poster's website
Zero_Kewl
Voice


Joined: 24 Oct 2005
Posts: 4

PostPosted: Mon Oct 24, 2005 7:32 pm    Post subject: Reply with quote

I have done that at least 6 times Sad

I must be going wrong somewhere!
Back to top
View user's profile Send private message
Alchera
Revered One


Joined: 11 Aug 2003
Posts: 3344
Location: Ballarat Victoria, Australia

PostPosted: Mon Oct 24, 2005 11:02 pm    Post subject: Reply with quote

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
View user's profile Send private message Visit poster's website
Zero_Kewl
Voice


Joined: 24 Oct 2005
Posts: 4

PostPosted: Mon Oct 24, 2005 11:07 pm    Post subject: Reply with quote

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 Very Happy
Back to top
View user's profile Send private message
Zero_Kewl
Voice


Joined: 24 Oct 2005
Posts: 4

PostPosted: Tue Oct 25, 2005 11:54 am    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    egghelp.org community Forum Index -> Modules & Programming All times are GMT - 4 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Forum hosting provided by Reverse.net

Powered by phpBB © 2001, 2005 phpBB Group
subGreen style by ktauber