View previous topic :: View next topic |
Author |
Message |
ORATEGOD Voice
Joined: 08 Jun 2020 Posts: 34
|
Posted: Sun Oct 02, 2022 8:39 pm Post subject: Error |
|
|
greetings friends
I have an error starting this TCL.
The eggdrop is version v1.6.18
I appreciate the help you can give me =)
Quote: | 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 |
|
Back to top |
|
 |
CrazyCat Revered One

Joined: 13 Jan 2002 Posts: 1074 Location: France
|
Posted: Mon Oct 03, 2022 2:21 am Post subject: |
|
|
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) _________________ https://www.eggdrop.fr - French IRC network
Offer me a coffee - Do not ask me help in PM, we are a community. |
|
Back to top |
|
 |
ORATEGOD Voice
Joined: 08 Jun 2020 Posts: 34
|
Posted: Mon Oct 03, 2022 7:47 am Post subject: |
|
|
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 !!! |
|
Back to top |
|
 |
|
|
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
|
|