| View previous topic :: View next topic |
| Author |
Message |
botnet Voice
Joined: 31 Jul 2010 Posts: 9
|
Posted: Fri Aug 13, 2010 9:23 pm Post subject: Compile perl script and add to module. |
|
|
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
http://codepad.org/nZR84dqV
so anybody knows about perl add to Eggdrop modules? |
|
| Back to top |
|
 |
speechles Revered One

Joined: 26 Aug 2006 Posts: 1398 Location: emerald triangle, california (coastal redwoods)
|
Posted: Fri Aug 13, 2010 9:57 pm Post subject: |
|
|
| 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 |
|
 |
botnet Voice
Joined: 31 Jul 2010 Posts: 9
|
Posted: Sat Aug 14, 2010 8:03 am Post subject: |
|
|
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 |
|
 |
|