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.

Search found 7 matches

by MistaGee
Thu Feb 02, 2006 7:55 am
Forum: Modules & Programming
Topic: hooking multiple commands to the same function - possible?
Replies: 15
Views: 27748

I think I understood Eggdrop module coding by now and I know a little bit what I'm doing... How do I have to use this Tcl_GetVar function? Atm I'm doing it like this: char* used_bind; used_bind = Tcl_GetVar(interp, "lastbind", 0); is that correct? (It actually does compile...) Still I need...
by MistaGee
Tue Jan 31, 2006 8:52 am
Forum: Modules & Programming
Topic: hooking multiple commands to the same function - possible?
Replies: 15
Views: 27748

I'm reading the eggdrop source code right now in order to find out how the TCL module makes eggdrop call the function that checks the binds whenever needed, but I can't figure out how this is actually done since the author chose to not add any helpful comments at all. I'm not intending to implement ...
by MistaGee
Sat Jan 21, 2006 7:04 am
Forum: Modules & Programming
Topic: hooking multiple commands to the same function - possible?
Replies: 15
Views: 27748

thanxXx a great lot!

Unfortunately I don't have too much time for this, so I had to delay the project, but soon I'll have two months of holidays and I guess I'ma continue my project then and see how far I can get.

Greetz MGee
by MistaGee
Wed Jan 04, 2006 8:47 pm
Forum: Modules & Programming
Topic: hooking multiple commands to the same function - possible?
Replies: 15
Views: 27748

well I haven't come too far, been busy with other stuff.... we could write the plugin together though, I thought of checking how apache accesses PHP and just do the same with eggdrop... I need to read and understand the apache and eggdrop source now and learn how2 write eggdrop modules... quite a pi...
by MistaGee
Tue Dec 06, 2005 2:14 pm
Forum: Modules & Programming
Topic: hooking multiple commands to the same function - possible?
Replies: 15
Views: 27748

well, this is how far I have come yet: http://mistagee.selfip.net:8080/mistagee/phparse.c I'm trying to teach my eggdrop how2 use php since I _hate_ :evil: TCL, and I just don't know how to make the module react to the triggers ppl use in IRC. the rest should (!) work, I didn't yet have the chance t...
by MistaGee
Tue Dec 06, 2005 12:45 pm
Forum: Modules & Programming
Topic: hooking multiple commands to the same function - possible?
Replies: 15
Views: 27748

wow, I didn't ask for that great a detail, but thx anyway, that didn't help anything :twisted: :P what do you mean, call the other functions? what functions? sry, but I just don't get what you mean... :? I've made three functions already, one watching the channel, one waiting for /msgs and one keepi...
by MistaGee
Tue Dec 06, 2005 8:30 am
Forum: Modules & Programming
Topic: hooking multiple commands to the same function - possible?
Replies: 15
Views: 27748

hooking multiple commands to the same function - possible?

hi guys, I'm intending to write a module for which I need to hook multiple commands to the same function but still keep the possibility to figure out which command was called later on. The issue is that I'm totally new to eggdrop module programming, so I don't know if I can do that. I've checked the...