| View previous topic :: View next topic |
| Author |
Message |
ultralord Master

Joined: 06 Nov 2006 Posts: 255
|
Posted: Mon Oct 08, 2007 4:26 pm Post subject: help about this error |
|
|
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 |
|
 |
nml375 Revered One
Joined: 04 Aug 2006 Posts: 2857
|
Posted: Mon Oct 08, 2007 4:31 pm Post subject: |
|
|
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 |
|
 |
ultralord Master

Joined: 06 Nov 2006 Posts: 255
|
Posted: Mon Oct 08, 2007 4:42 pm Post subject: |
|
|
| how i can resolve it? i have this problem sometime not all the time why? |
|
| Back to top |
|
 |
nml375 Revered One
Joined: 04 Aug 2006 Posts: 2857
|
Posted: Mon Oct 08, 2007 4:45 pm Post subject: |
|
|
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 |
|
 |
ultralord Master

Joined: 06 Nov 2006 Posts: 255
|
Posted: Mon Oct 08, 2007 8:05 pm Post subject: |
|
|
| 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 |
|
 |
rosc2112 Revered One

Joined: 19 Feb 2006 Posts: 1454 Location: Northeast Pennsylvania
|
Posted: Tue Oct 09, 2007 2:29 am Post subject: |
|
|
| Post the code? |
|
| Back to top |
|
 |
ultralord Master

Joined: 06 Nov 2006 Posts: 255
|
Posted: Tue Oct 09, 2007 2:40 am Post subject: |
|
|
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 |
|
 |
Alchera Revered One

Joined: 11 Aug 2003 Posts: 3344 Location: Ballarat Victoria, Australia
|
Posted: Tue Oct 09, 2007 6:12 pm Post subject: |
|
|
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 |
|
 |
|