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.

recently upgraded eggdrop, getting tcl error

Old posts that have not been replied to for several years.
Locked
j
jammer1
Voice
Posts: 39
Joined: Tue Feb 11, 2003 11:40 am

recently upgraded eggdrop, getting tcl error

Post by jammer1 »

invalid command name "date"

here the code causing the error;
set date [date]

any suggestions?
User avatar
Papillon
Owner
Posts: 724
Joined: Fri Feb 15, 2002 8:00 pm
Location: *.no

Post by Papillon »

'date' is not a regular tcl-command, it is a proc in one of your scripts, we need to see the date-proc to tell you what's wrong with it
Elen sila lúmenn' omentielvo
User avatar
caesar
Mint Rubber
Posts: 3778
Joined: Sun Oct 14, 2001 8:00 pm
Location: Mint Factory

Post by caesar »

Change it with: set date [clock format [clock seconds] -format %D] to get a 'date' like: 14 Feb 2003. If you don't like it then see on this page how change it to what suits you better.
Once the game is over, the king and the pawn go back in the same box.
j
jammer1
Voice
Posts: 39
Joined: Tue Feb 11, 2003 11:40 am

Post by jammer1 »

Thanks guys. :D
Locked