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.

writing windrop output to the console

Help for those learning Tcl or writing their own scripts.
Post Reply
M
Mumpitz
Voice
Posts: 1
Joined: Fri Jun 02, 2006 8:27 am

writing windrop output to the console

Post by Mumpitz »

Hi there!

I am currently running windrop 1.6.12 and started TCL scripting few days ago. I set up mysqltcl, a mysql database and I am able to access the db.
As I am used to write my code under c and c++, I often run into problems with TCL not knowing what I've done wrong. To speed up my coding process I would like to write some output directly to the eggdrops console but as it runs as a background process I am not able to see my output done with 'puts'. Rehashing and writing it to a chanel takes to much time.

So my questions are:
Is there a possibility to redirect this output to the console window?
Is it possible to debug my scripts in any way?

Thanks in advance and with best regards,
Oliver
s
scotteh
Halfop
Posts: 50
Joined: Sun Jan 29, 2006 12:43 am

Post by scotteh »

try putlog and i also suggest you read tcl-commands.doc, it can be found in ./doc in your eggdrop (or windrop i assume) folder.
User avatar
De Kus
Revered One
Posts: 1361
Joined: Sun Dec 15, 2002 11:41 am
Location: Germany

Post by De Kus »

try putdcc with hand2idx.
De Kus
StarZ|De_Kus, De_Kus or DeKus on IRC
Copyright © 2005-2009 by De Kus - published under The MIT License
Love hurts, love strengthens...
Post Reply