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.

Error

Requests for complete scripts or modifications/fixes for scripts you didn't write. Response not guaranteed, and no thread bumping!
Post Reply
O
ORATEGOD
Halfop
Posts: 42
Joined: Mon Jun 08, 2020 5:50 pm

Error

Post by ORATEGOD »

greetings friends

I have an error starting this TCL.
The eggdrop is version v1.6.18

I appreciate the help you can give me =)
can't set "time": variable is array
while executing
"set time 90"
(file "scripts/servidor.tcl" line 23)
invoked from within

# Tempo de envio de Mensagem
set time 90
Last edited by ORATEGOD on Fri Oct 28, 2022 6:33 pm, edited 1 time in total.
User avatar
CrazyCat
Revered One
Posts: 1301
Joined: Sun Jan 13, 2002 8:00 pm
Location: France
Contact:

Post by CrazyCat »

As your variable time is global, without namespace, and with a really generic name, I guess you have another script, loaded before this one, which also use time variable and declare it as an array.

Change your variable name.

Tip: never use generic name, and more never use reserved keywords, as time (which is also a function)
O
ORATEGOD
Halfop
Posts: 42
Joined: Mon Jun 08, 2020 5:50 pm

Post by ORATEGOD »

CrazyCat wrote:As your variable time is global, without namespace, and with a really generic name, I guess you have another script, loaded before this one, which also use time variable and declare it as an array.

Change your variable name.

Tip: never use generic name, and more never use reserved keywords, as time (which is also a function)

thank you very much friend !!!
Post Reply