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 

writing windrop output to the console

 
Post new topic   Reply to topic    egghelp.org community Forum Index -> Scripting Help
View previous topic :: View next topic  
Author Message
Mumpitz
Voice


Joined: 02 Jun 2006
Posts: 1

PostPosted: Fri Jun 02, 2006 8:41 am    Post subject: writing windrop output to the console Reply with quote

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
Back to top
View user's profile Send private message
scotteh
Halfop


Joined: 29 Jan 2006
Posts: 50

PostPosted: Fri Jun 02, 2006 10:19 am    Post subject: Reply with quote

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.
Back to top
View user's profile Send private message
De Kus
Revered One


Joined: 15 Dec 2002
Posts: 1361
Location: Germany

PostPosted: Fri Jun 02, 2006 10:34 am    Post subject: Reply with quote

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...
Back to top
View user's profile Send private message MSN Messenger
Display posts from previous:   
Post new topic   Reply to topic    egghelp.org community Forum Index -> Scripting Help 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