| View previous topic :: View next topic |
| Author |
Message |
wizzo Voice
Joined: 08 Aug 2005 Posts: 2
|
Posted: Mon Aug 08, 2005 7:25 am Post subject: having problems with egg_fu_2.0.2 |
|
|
Well i configured the eggdrop and every thing works fine with all the scripts i have added but only one is giving me problems. i get the following error when using egg_fu_2.0.2.tcl
TCL error in file 'eggdrop.conf:
expected integer but got "09" (looks like invalid octal number)
while executing
"expr [lindex [split $args :] 1] + ([unoctal [lindex [split $args :] 0]] * 60)"
(prcedure "mconv" line 1)
invoked from within
"mconv [getdate time"
(procedure "myage" line 6)
invoked from within
"myage"
invoked from within
"putlog "\002egg\002-\002fu\002 \002$eggfu\002 loaded! (age: [myage], sex: $sex)
"(file "scripts/egg-fu_2.0.2.tcl" line 940)
invoked from within
"source scripts/egg-fu-2.0.2.tcl"
(file "eggdrop.conf" line 1351)
i think the problem is this line in the tcl file but i have no idea what
proc mconv {args} {return [expr [lindex [split $args :] 1] + ([unoctal [lindex [split $args :] 0]] * 60)]}
i've search this board for a while now for a solution and couldn't find anyone with similar problems to mine.
p.s. i am using eggdrop not windrop and cygwin
after running it again i now get this error
[13:14] Tcl error in file 'eggdrop.conf':
[13:14] syntax error in expression "00\]\] + (12 * 60)": extra tokens at end of
expression
while executing
"expr [lindex [split $args :] 1] + ([unoctal [lindex [split $args :] 0]] * 60)"
(procedure "mconv" line 1)
invoked from within
"mconv [lindex $bdate 1"
(procedure "myage" line 7)
invoked from within
"myage"
invoked from within
"putlog "\002egg\002-\002fu\002 \002$eggfu\002 loaded! (age: [myage], sex: $sex)
"
"
(file "scripts/egg-fu_2.0.2.tcl" line 940)
invoked from within
"source scripts/egg-fu_2.0.2.tcl"
(file "eggdrop.conf" line 1349)
[13:14] * CONFIG FILE NOT LOADED (NOT FOUND, OR ERROR) |
|
| Back to top |
|
 |
demond Revered One

Joined: 12 Jun 2004 Posts: 3073 Location: San Francisco, CA
|
Posted: Mon Aug 08, 2005 11:51 am Post subject: |
|
|
| obviously the arguments of that [expr] are not properly checked/guaranteed to be numbers |
|
| Back to top |
|
 |
wizzo Voice
Joined: 08 Aug 2005 Posts: 2
|
Posted: Mon Aug 08, 2005 12:30 pm Post subject: |
|
|
| demond wrote: | | obviously the arguments of that [expr] are not properly checked/guaranteed to be numbers |
that argument is in the orginal script i downloaded from slennox's eggpage and its not been tampered with so i need a solution to fix it if possible. |
|
| Back to top |
|
 |
demond Revered One

Joined: 12 Jun 2004 Posts: 3073 Location: San Francisco, CA
|
Posted: Mon Aug 08, 2005 12:52 pm Post subject: |
|
|
| then either contact the author or post the script (using [code] tags) and hope for the best (i.e. someone here to bother to fix it) |
|
| Back to top |
|
 |
|