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.

Egg-fu 2.02 (other versions too)

Old posts that have not been replied to for several years.
Locked
s
sniiki
Voice
Posts: 14
Joined: Wed Mar 19, 2003 3:25 pm

Egg-fu 2.02 (other versions too)

Post by sniiki »

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?
p
ppslim
Revered One
Posts: 3914
Joined: Sun Sep 23, 2001 8:00 pm
Location: Liverpool, England

Post by ppslim »

The exact error messages is always a bonus, and in most cases needed to give any sort of support.
s
sniiki
Voice
Posts: 14
Joined: Wed Mar 19, 2003 3:25 pm

Post by sniiki »

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)
p
ppslim
Revered One
Posts: 3914
Joined: Sun Sep 23, 2001 8:00 pm
Location: Liverpool, England

Post by ppslim »

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:

Code: Select all

[exec date +%m/%d/%Y@%H:%M]
to:

Code: Select all

[clock format [clock seconds] -format "%m/%d/%Y@%H:%M"]
s
sniiki
Voice
Posts: 14
Joined: Wed Mar 19, 2003 3:25 pm

Post by sniiki »

naah wont work, i give up with this windrop. Gotta find shell from somewhere.

But thanks for the help ppslim! (with Megahal also :) )
p
ppslim
Revered One
Posts: 3914
Joined: Sun Sep 23, 2001 8:00 pm
Location: Liverpool, England

Post by ppslim »

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.
s
sniiki
Voice
Posts: 14
Joined: Wed Mar 19, 2003 3:25 pm

Post by sniiki »

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.
p
ppslim
Revered One
Posts: 3914
Joined: Sun Sep 23, 2001 8:00 pm
Location: Liverpool, England

Post by ppslim »

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.
s
sniiki
Voice
Posts: 14
Joined: Wed Mar 19, 2003 3:25 pm

Post by sniiki »

no, it's not that :/ deleted them carefully.
User avatar
user
 
Posts: 1452
Joined: Tue Mar 18, 2003 9:58 pm
Location: Norway

Post by user »

sniiki wrote:no, it's not that :/ deleted them carefully.
Tcl does not generate random error messages. Check again. :)
s
sniiki
Voice
Posts: 14
Joined: Wed Mar 19, 2003 3:25 pm

Post by sniiki »

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 »

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:

Code: Select all

[exec date +%m/%d/%Y@%H:%M]
to:

Code: Select all

[clock format [clock seconds] -format "%m/%d/%Y@%H:%M"]
T
Tokeiito

error

Post by Tokeiito »

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?
Locked