more then on tcl script .. how?

Having a problem with your shell account? Post here.

more then on tcl script .. how?

Postby slave on Sat Sep 02, 2006 3:00 pm

i wanna use more then one tcl script on one eggdrop how i can compile all of them togather for e.g i wanna run stat script channel control tcl and seen tcl on same eggdrop .. how i can compile all these tcl ..so all work fine and where i can find best tcl for all mention task ..
Death Angel
slave
Contributer
Contributer
 
Posts: 71
Joined: Sun Mar 26, 2006 3:03 pm
Location: Death Town

Postby silentguy on Sat Sep 02, 2006 3:22 pm

I don't have any *nix account to test it on, but as far as i know, you don't have to compile anything. you just stick all the .tcl files in the scripts folder and rehash (or for severe scripts restart) the bot... done...
most of the scripts and eggdrop guides have some info about that...
but this is the wrong forum, i think it would have been petter in tech support or something.
I used to be schizophrenic but we are all right now!

Computer games don't affect kids: I mean, if Pacman affected us as kids, we'd all be running around in darkend rooms, munching magic pills and listening to repetative electronic music...
silentguy
Regular
Regular
 
Posts: 122
Joined: Sat Aug 26, 2006 11:16 am
Location: NRW, Germany

Postby De Kus on Sat Sep 02, 2006 3:31 pm

I believe he confuses TCL Scripts with eggdrop Modules. Scripts can be added without compiling (they will automatically compiled/interpreted as needed). Modules however require you to compile eggdrop which you probably can't on that shell, since you lack the required amount of forground processes.

PS: don't dare to ask how to add scripts and read the config file till the END!

~Moved from Programming~
Image
User avatar
De Kus
Phoenix Veteran
Phoenix Veteran
 
Posts: 305
Joined: Mon Mar 14, 2005 2:15 pm
Location: Germany

Postby dama on Sun Sep 03, 2006 12:55 am

You need to put these TCL scripts in one folder (normally /youreggdropDirectory/scripts)
and then put "source scripts/scriptname.tcl" at the end of your config file for each script that you want to use.
Then rehash or restart your eggdrop.
You need to have a closer look into your config file ( the default one is pretty self-explainatory with comments on each option that you want to set, including scripts options)
Cheers! Laughing

~answer to a question which I forbid to ask~
dama
Regular
Regular
 
Posts: 104
Joined: Wed Jul 05, 2006 6:11 pm
Location: us


Return to Technical Support

Who is online

Users browsing this forum: No registered users and 1 guest

cron