| View previous topic :: View next topic |
| Author |
Message |
Ofloo Owner
Joined: 13 May 2003 Posts: 953 Location: Belguim
|
Posted: Wed Feb 27, 2008 12:45 pm Post subject: Sample |
|
|
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 |
|
| Back to top |
|
 |
Kappa007 Voice
Joined: 26 Jul 2005 Posts: 38
|
Posted: Thu Feb 28, 2008 1:36 am Post subject: |
|
|
| Did you check the woobie module? |
|
| Back to top |
|
 |
Ofloo Owner
Joined: 13 May 2003 Posts: 953 Location: Belguim
|
Posted: Sun Mar 02, 2008 7:41 am Post subject: |
|
|
Have you all i can see there is a bind dcc !? _________________ XplaiN but think of me as stupid |
|
| Back to top |
|
 |
Alchera Revered One

Joined: 11 Aug 2003 Posts: 3344 Location: Ballarat Victoria, Australia
|
Posted: Sun Mar 02, 2008 8:40 pm Post subject: |
|
|
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 |
|
| Back to top |
|
 |
Ofloo Owner
Joined: 13 May 2003 Posts: 953 Location: Belguim
|
Posted: Wed Mar 05, 2008 6:09 am Post subject: |
|
|
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 |
|
| Back to top |
|
 |
Kappa007 Voice
Joined: 26 Jul 2005 Posts: 38
|
Posted: Wed Mar 05, 2008 7:20 am Post subject: |
|
|
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... |
|
| Back to top |
|
 |
|