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.
Discussion of Eggdrop's code and module programming in C.
Ofloo
Owner
Posts: 953 Joined: Tue May 13, 2003 1:37 am
Location: Belguim
Contact:
Post
by Ofloo » Wed Feb 27, 2008 12:45 pm
I'm still learning C though i know the basics, and I wanted to create a eggdrop module, to gain more experiance in C, ..
Would anyone be so kind to write a small sample of a bind pub, msg, dcc, time..
XplaiN but think of me as stupid
Kappa007
Voice
Posts: 38 Joined: Tue Jul 26, 2005 9:53 pm
Post
by Kappa007 » Thu Feb 28, 2008 1:36 am
Did you check the woobie module?
Ofloo
Owner
Posts: 953 Joined: Tue May 13, 2003 1:37 am
Location: Belguim
Contact:
Post
by Ofloo » Sun Mar 02, 2008 7:41 am
Have you all i can see there is a bind dcc !?
XplaiN but think of me as stupid
Alchera
Revered One
Posts: 3344 Joined: Mon Aug 11, 2003 12:42 pm
Location: Ballarat Victoria, Australia
Contact:
Post
by Alchera » Sun Mar 02, 2008 8:40 pm
I found this post which may be of assistance:
Example: Module in C++
Add [SOLVED] to the thread title if your issue has been.
Search |
FAQ |
RTM
Ofloo
Owner
Posts: 953 Joined: Tue May 13, 2003 1:37 am
Location: Belguim
Contact:
Post
by Ofloo » Wed Mar 05, 2008 6:09 am
But that is in C++ i really would like to learn C before I start overcoming the problems of compiling a C++ source module, I do know C++ little except the use of classes, .. so it's very basic..
and that bind !hello is wrapped with a class ..
XplaiN but think of me as stupid
Kappa007
Voice
Posts: 38 Joined: Tue Jul 26, 2005 9:53 pm
Post
by Kappa007 » Wed Mar 05, 2008 7:20 am
Hah! Nice my old sample code...
Ofloo wrote: and that bind !hello is wrapped with a class ..
Just unwrap it then. What you get is the woobie module except that you use "!hello"
For C modules just check the other eggdrop modules - it's really not that hard...