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 

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

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


Joined: 29 Jan 2006
Posts: 8

PostPosted: Thu Feb 09, 2006 4:41 pm    Post subject: is it possible to load a tcl script from a module? Reply with quote

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.
Back to top
View user's profile Send private message
KrzychuG
Master


Joined: 16 Aug 2003
Posts: 306
Location: Torun, Poland

PostPosted: Thu Feb 09, 2006 5:48 pm    Post subject: Reply with quote

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

readtclprog("scripts/plum.tcl");

_________________
Que?
Back to top
View user's profile Send private message Visit poster's website
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