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 

help about this error

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


Joined: 06 Nov 2006
Posts: 255

PostPosted: Mon Oct 08, 2007 4:26 pm    Post subject: help about this error Reply with quote

Guys what is the problem with this error?

Tcl error [g_addme]: wrong # args: should be "time command ?count?"

what is mean?
Back to top
View user's profile Send private message
nml375
Revered One


Joined: 04 Aug 2006
Posts: 2857

PostPosted: Mon Oct 08, 2007 4:31 pm    Post subject: Reply with quote

Your script uses the time-command improperly.

Worth keeping in mind, is that in older versions of eggdrop, there was an eggdrop-speciffic command named time, that would return current time. It was however removed to avoid conflicts, as tcl introduced their time-command.
_________________
NML_375, idling at #eggdrop@IrcNET
Back to top
View user's profile Send private message
ultralord
Master


Joined: 06 Nov 2006
Posts: 255

PostPosted: Mon Oct 08, 2007 4:42 pm    Post subject: Reply with quote

how i can resolve it? i have this problem sometime not all the time why?
Back to top
View user's profile Send private message
nml375
Revered One


Joined: 04 Aug 2006
Posts: 2857

PostPosted: Mon Oct 08, 2007 4:45 pm    Post subject: Reply with quote

IF you're the author of the script, locate any and all occurances of the command, deduce wether it's suppsed to use the tcl-native time command, or the "old eggdrop" version, which has to be replaced with [clock seconds] as I recall it.

If you're not the author, you might also try to get in touch with the author regarding a fixed/more recent version of the script.
_________________
NML_375, idling at #eggdrop@IrcNET
Back to top
View user's profile Send private message
ultralord
Master


Joined: 06 Nov 2006
Posts: 255

PostPosted: Mon Oct 08, 2007 8:05 pm    Post subject: Reply with quote

ahm.. because i dont underestand how to fix it? i have tcl from someone but i change it myself and that problem i dont know it :S
Back to top
View user's profile Send private message
rosc2112
Revered One


Joined: 19 Feb 2006
Posts: 1454
Location: Northeast Pennsylvania

PostPosted: Tue Oct 09, 2007 2:29 am    Post subject: Reply with quote

Post the code?
Back to top
View user's profile Send private message
ultralord
Master


Joined: 06 Nov 2006
Posts: 255

PostPosted: Tue Oct 09, 2007 2:40 am    Post subject: Reply with quote

you can download it from here..

http://www.tclscript.com/cgi-bin/dbs.cgi?get=pwf.tcl

is the same tcl but mine is more edited with more features.. but this tcl have the same problem..

when someone type !add to join in gather game at this time i saw the error msg in dcc chat but not all the time.. only 10th player when he add i saw the error ..

thnx
Back to top
View user's profile Send private message
Alchera
Revered One


Joined: 11 Aug 2003
Posts: 3344
Location: Ballarat Victoria, Australia

PostPosted: Tue Oct 09, 2007 6:12 pm    Post subject: Reply with quote

The link you have given indicates that this script is written by strikelight.

If this is correct you can contact the author OR make a post on his forum.

Modifying another's script without first approaching them is out of step with the spirit of open source.
_________________
Add [SOLVED] to the thread title if your issue has been.
Search | FAQ | RTM
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 -> 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