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.

getops.tcl bug or error?

Old posts that have not been replied to for several years.
Locked
M
MasterJM
Halfop
Posts: 56
Joined: Wed Apr 03, 2002 8:00 pm
Location: germany
Contact:

getops.tcl bug or error?

Post by MasterJM »

hi

i have a little botnet with getops.tcl
(lastest version inclueded with 1.6.13 eggdrop)

i have a chan named #[bla]

seems that the getops tcl have a problem with "[]"

[15:02:29] <egg> [15:03] Tcl error in script for 'timer9':
[15:02:29] <egg> [15:03] invalid command name "bla"

all bots of the net have this error
so could only be this tcl, because its the only tcl runs on all bots

any ideas or suggestions? :)
p
ppslim
Revered One
Posts: 3914
Joined: Sun Sep 23, 2001 8:00 pm
Location: Liverpool, England

Post by ppslim »

Locate the following line in the script.

Code: Select all

utimer 3 "requestop $chan"
You should change this to

Code: Select all

utimer 3 [list requestop $chan]
All should be good to go.

I have submitted a patch for this, for inclusion with 1.6.14
Last edited by ppslim on Mon Mar 24, 2003 3:32 pm, edited 1 time in total.
M
MasterJM
Halfop
Posts: 56
Joined: Wed Apr 03, 2002 8:00 pm
Location: germany
Contact:

Post by MasterJM »

thx

works fine :)
p
panazonic
Voice
Posts: 11
Joined: Thu Feb 13, 2003 10:50 am
Location: Norway

Post by panazonic »

I also have a problem with getops. But it goes like this:
[15:11] Tcl error in script for 'need-op':
[15:11] invalid command name "request"
p
ppslim
Revered One
Posts: 3914
Joined: Sun Sep 23, 2001 8:00 pm
Location: Liverpool, England

Post by ppslim »

It looks like you may have edited the script in some way.

Try downloading a fresh copy, and make sure it is uploaded in the correct FTP mode.
p
ppslim
Revered One
Posts: 3914
Joined: Sun Sep 23, 2001 8:00 pm
Location: Liverpool, England

Post by ppslim »

It sounds like you are upgrading your bot from a older version.

See www.egghelp.org, download and follow the instructions for clearneeds.tcl (should be in the My Scripts section).
Locked