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 

Compile perl script and add to module.

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


Joined: 31 Jul 2010
Posts: 9

PostPosted: Fri Aug 13, 2010 9:23 pm    Post subject: Compile perl script and add to module. Reply with quote

Question
simple question for people who know please participate.
How to compile perl script and add to a module for Eggdrop?

Details
i have a module called megahal. i already compiled megahal module and it's working fine with eggdrop. But i found a perl script and need to add it to my meghal module.

So how to add a perl script to an Eggdrop module?
Do I need to recompile again module + the perl script? If so then how do I compile perl file and link it with Megahal so it can recognize it?
For linking maybe looking at line 36 can help but not sure:
line36 use AI::MegaHAL; # The megahal AI module

for who's interested
here's perl script file paste here Smile
http://codepad.org/nZR84dqV

Arrow so anybody knows about perl add to Eggdrop modules?
Back to top
View user's profile Send private message
speechles
Revered One


Joined: 26 Aug 2006
Posts: 1398
Location: emerald triangle, california (coastal redwoods)

PostPosted: Fri Aug 13, 2010 9:57 pm    Post subject: Reply with quote

Code:
# Requires:
#   Xchat. (2.04 or later, windows or linux)
#   Perl (or ActivePerl) installed.
#   AI::MegaHAL  (Get it from http://search.cpan.org/~chorny/AI-MegaHAL-0.05/lib/AI/MegaHAL.pm OR "cpan AI::MegaHAL" OR "ppm" and search.
#


It has nothing to do with eggdrop. Why don't you use an eggdrop version of megaHAL instead?
_________________
speechles' eggdrop tcl archive
Back to top
View user's profile Send private message
botnet
Voice


Joined: 31 Jul 2010
Posts: 9

PostPosted: Sat Aug 14, 2010 8:03 am    Post subject: Reply with quote

Hi speechles
sure my Megahal version is specific for Eggdrop and it's working fine.

But you're saying that the perl script i found has nothing to do with Eggdrop. ok so this script can't use it for eggdrop megahal then. thanks for your reply.
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