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 

Sample

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


Joined: 13 May 2003
Posts: 953
Location: Belguim

PostPosted: Wed Feb 27, 2008 12:45 pm    Post subject: Sample Reply with quote

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
View user's profile Send private message Visit poster's website
Kappa007
Voice


Joined: 26 Jul 2005
Posts: 38

PostPosted: Thu Feb 28, 2008 1:36 am    Post subject: Reply with quote

Did you check the woobie module?
Back to top
View user's profile Send private message
Ofloo
Owner


Joined: 13 May 2003
Posts: 953
Location: Belguim

PostPosted: Sun Mar 02, 2008 7:41 am    Post subject: Reply with quote

Have you all i can see there is a bind dcc !?
_________________
XplaiN but think of me as stupid
Back to top
View user's profile Send private message Visit poster's website
Alchera
Revered One


Joined: 11 Aug 2003
Posts: 3344
Location: Ballarat Victoria, Australia

PostPosted: Sun Mar 02, 2008 8:40 pm    Post subject: Reply with quote

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
View user's profile Send private message Visit poster's website
Ofloo
Owner


Joined: 13 May 2003
Posts: 953
Location: Belguim

PostPosted: Wed Mar 05, 2008 6:09 am    Post subject: Reply with quote

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
View user's profile Send private message Visit poster's website
Kappa007
Voice


Joined: 26 Jul 2005
Posts: 38

PostPosted: Wed Mar 05, 2008 7:20 am    Post subject: Reply with quote

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
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