egghelp.org community Forum Index
[ egghelp.org home | forum home ]
egghelp.org community
Discussion of eggdrop bots, shell accounts and tcl scripts.
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

having problems with egg_fu_2.0.2

 
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    egghelp.org community Forum Index -> Archive
View previous topic :: View next topic  
Author Message
wizzo
Voice


Joined: 08 Aug 2005
Posts: 2

PostPosted: Mon Aug 08, 2005 7:25 am    Post subject: having problems with egg_fu_2.0.2 Reply with quote

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
View user's profile Send private message
demond
Revered One


Joined: 12 Jun 2004
Posts: 3073
Location: San Francisco, CA

PostPosted: Mon Aug 08, 2005 11:51 am    Post subject: Reply with quote

obviously the arguments of that [expr] are not properly checked/guaranteed to be numbers
Back to top
View user's profile Send private message Visit poster's website
wizzo
Voice


Joined: 08 Aug 2005
Posts: 2

PostPosted: Mon Aug 08, 2005 12:30 pm    Post subject: Reply with quote

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
View user's profile Send private message
demond
Revered One


Joined: 12 Jun 2004
Posts: 3073
Location: San Francisco, CA

PostPosted: Mon Aug 08, 2005 12:52 pm    Post subject: Reply with quote

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
View user's profile Send private message Visit poster's website
Display posts from previous:   
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    egghelp.org community Forum Index -> Archive All times are GMT - 4 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Forum hosting provided by Reverse.net

Powered by phpBB © 2001, 2005 phpBB Group
subGreen style by ktauber