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.

Sample

Discussion of Eggdrop's code and module programming in C.
Post Reply
O
Ofloo
Owner
Posts: 953
Joined: Tue May 13, 2003 1:37 am
Location: Belguim
Contact:

Sample

Post by Ofloo »

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
K
Kappa007
Voice
Posts: 38
Joined: Tue Jul 26, 2005 9:53 pm

Post by Kappa007 »

Did you check the woobie module?
O
Ofloo
Owner
Posts: 953
Joined: Tue May 13, 2003 1:37 am
Location: Belguim
Contact:

Post by Ofloo »

Have you all i can see there is a bind dcc !?
XplaiN but think of me as stupid
User avatar
Alchera
Revered One
Posts: 3344
Joined: Mon Aug 11, 2003 12:42 pm
Location: Ballarat Victoria, Australia
Contact:

Post by Alchera »

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
O
Ofloo
Owner
Posts: 953
Joined: Tue May 13, 2003 1:37 am
Location: Belguim
Contact:

Post by Ofloo »

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
K
Kappa007
Voice
Posts: 38
Joined: Tue Jul 26, 2005 9:53 pm

Post by Kappa007 »

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...
Post Reply