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.
Old posts that have not been replied to for several years.
sniiki
Voice
Posts: 14 Joined: Wed Mar 19, 2003 3:25 pm
Post
by sniiki » Wed Mar 19, 2003 3:38 pm
I'm having trouble with this script:
newest version won't start and displays just some error about 'date' scripts.
1.7 version won't speak and so on.
Could some1 help expecially with that 2.02 version or tell some other good "intelligent" chatbot?
ppslim
Revered One
Posts: 3914 Joined: Sun Sep 23, 2001 8:00 pm
Location: Liverpool, England
Post
by ppslim » Wed Mar 19, 2003 5:11 pm
The exact error messages is always a bonus, and in most cases needed to give any sort of support.
sniiki
Voice
Posts: 14 Joined: Wed Mar 19, 2003 3:25 pm
Post
by sniiki » Thu Mar 20, 2003 6:49 am
sorry, here is the exact error message:
[10:47] ☻Congratulations!☻ You are now the proud parent of an ☻egg-fu☻ bot!
[10:47] Tcl error in file 'nutsylover.conf':
[10:47] couldn't execute "date": no such file or directory
while executing
"exec date +%m/%d/%Y@%H:%M"
invoked from within
"if {![file exists birth_certificate.egg]} {
set coin [rand 10]
if {$coin>=5} {set sex boy} {set sex girl}
putlog "\002IT'S A [string toupper $sex]!..."
(file "egg-fu/egg-fu.2.0.2.tcl" line 911)
invoked from within
"source egg-fu/egg-fu.2.0.2.tcl
[10:47] * CONFIG FILE NOT LOADED (NOT FOUND, OR ERROR)
ppslim
Revered One
Posts: 3914 Joined: Sun Sep 23, 2001 8:00 pm
Location: Liverpool, England
Post
by ppslim » Thu Mar 20, 2003 7:21 am
If this is a windrop, then the issues is that the date command isn't available on windows.
If on *nix, then the date command isn't accessable.
you can try changing the offending lines from:
to:
Code: Select all
[clock format [clock seconds] -format "%m/%d/%Y@%H:%M"]
sniiki
Voice
Posts: 14 Joined: Wed Mar 19, 2003 3:25 pm
Post
by sniiki » Thu Mar 20, 2003 9:16 am
naah wont work, i give up with this windrop. Gotta find shell from somewhere.
But thanks for the help ppslim! (with Megahal also
)
ppslim
Revered One
Posts: 3914 Joined: Sun Sep 23, 2001 8:00 pm
Location: Liverpool, England
Post
by ppslim » Thu Mar 20, 2003 9:21 am
If that fails to work, what error does it give now.
That should solve your issue.
However, it sounds like another problem. Unless you work through each one, you will never get there.
sniiki
Voice
Posts: 14 Joined: Wed Mar 19, 2003 3:25 pm
Post
by sniiki » Thu Mar 20, 2003 10:12 am
it says something about missing brackets, tried to fix those but no use.
I think the problem is windrop. I'll try this script with shell version soon as i get permission to put eggdrop there.
ppslim
Revered One
Posts: 3914 Joined: Sun Sep 23, 2001 8:00 pm
Location: Liverpool, England
Post
by ppslim » Thu Mar 20, 2003 11:07 am
Missing brackests isn't a windrop issues, and would display just as much on a normal eggdrop/shell.
As it sugests, somthing is missing, or is in the wrong place.
Possibly a single bracket deleted during the "[exec date" replacment.
sniiki
Voice
Posts: 14 Joined: Wed Mar 19, 2003 3:25 pm
Post
by sniiki » Thu Mar 20, 2003 12:06 pm
no, it's not that :/ deleted them carefully.
user
Posts: 1452 Joined: Tue Mar 18, 2003 9:58 pm
Location: Norway
Post
by user » Thu Mar 20, 2003 12:21 pm
sniiki wrote: no, it's not that :/ deleted them carefully.
Tcl does not generate random error messages. Check again.
sniiki
Voice
Posts: 14 Joined: Wed Mar 19, 2003 3:25 pm
Post
by sniiki » Thu Mar 20, 2003 12:36 pm
i did it all over again. there was some earlier mistake.
Anyhow, works now with that ppslim's code change and never windrop.
Thanks all!
T
Tokeiito
Post
by Tokeiito » Wed Jan 21, 2004 7:55 am
thnx for help. it's realy work with windrop.
ppslim wrote: If this is a windrop, then the issues is that the date command isn't available on windows.
If on *nix, then the date command isn't accessable.
you can try changing the offending lines from:
to:
Code: Select all
[clock format [clock seconds] -format "%m/%d/%Y@%H:%M"]
T
Tokeiito
Post
by Tokeiito » Wed Jan 21, 2004 8:10 am
hm, i got this error msg in dcc window..
Code: Select all
Tcl error [askquestion]: expected integer but got "09" (looks like invalid octal number)
when i sed: marius is smth.
can explain it?