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 

Strange Tcl command errors

 
Post new topic   Reply to topic    egghelp.org community Forum Index -> Eggdrop Help
View previous topic :: View next topic  
Author Message
arfer
Master


Joined: 26 Nov 2004
Posts: 436
Location: Manchester, UK

PostPosted: Wed Apr 18, 2012 5:06 pm    Post subject: Strange Tcl command errors Reply with quote

I am getting strange Tcl command errors

Example 1

I make a deliberate mistake sourcing a script. Filename omitted.

Quote:

.tcl source scripts/


On some bots I get the correct error

Quote:

Tcl error: couldn't read file "scripts/": illegal operation on a directory


On other bots I get something akin to the following

Quote:

Tcl error: invalid command name "Ê&ž


Example 2

I attempt to trace a Tcl error

Quote:

.tcl set errorInfo


If an error has occured I get the correct response, for example

Quote:

Tcl: can not find channel named "sock11"
Tcl: while executing
Tcl: "eof $sock"


If no error has occured I get (similar to Example 1 above)

Quote:

Tcl: invalid command name "“'ž


Anybody else seen this, or more importantly can explain it?
_________________
I must have had nothing to do
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    egghelp.org community Forum Index -> Eggdrop 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