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.

is it possible to load a tcl script from a module?

Discussion of Eggdrop's code and module programming in C.
Post Reply
s
stilllearning
Voice
Posts: 8
Joined: Sun Jan 29, 2006 1:58 am

is it possible to load a tcl script from a module?

Post by stilllearning »

Is it possible to load a tcl script from a module?
If so, how? Yes... I am not that great with C, but I'd just like some direction on this.
User avatar
KrzychuG
Master
Posts: 306
Joined: Sat Aug 16, 2003 2:51 pm
Location: Torun, Poland
Contact:

Post by KrzychuG »

Yes, it's possible. Use readtclprog function with filename as argument, ex:

Code: Select all

readtclprog("scripts/plum.tcl");
Que?
Post Reply