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.

timer and list errors

Old posts that have not been replied to for several years.
Locked
N
Nada_Surf

Post by Nada_Surf »

I'm running a trivia bot and during the running of the thing, after a random amount of time... usually a few days, this error occurs. Now what is a timer error? I am using timers but this doesnt make sense to me and unmatched open quote in list??

any help would be appreciated
[10:35] @#crypto (+tn) : [m/10 o/3 v/3 n/4b/0 e/- I/-]
[10:35] TCL error in script for 'timer38076':
[10:35] unmatched open quote in list
[10:40] @#crypto (+tn) : [m/9 o/3 v/2 n/4 b/0 e/- I/-]


<font size=-1>[ This Message was edited by: Nada_Surf on 2002-02-13 01:49 ]</font>
e
eagla

Post by eagla »


any help would be appreciated
[10:35] @#crypto (+tn) : [m/10 o/3 v/3 n/4b/0 e/- I/-]
[10:35] TCL error in script for 'timer38076':
try to search this timer at scripts
and remarks in bot conf
grep timer *.tcl
[10:35] unmatched open quote in list
[10:40] @#crypto (+tn) : [m/9 o/3 v/2 n/4 b/0 e/- I/-]


<font size=-1>[ This Message was edited by: Nada_Surf on 2002-02-13 01:49 ]</font>
[/quote]
I
Ian-Highlander
Op
Posts: 165
Joined: Mon Sep 24, 2001 8:00 pm
Location: Ely, Cambridgeshire

Post by Ian-Highlander »

Which Trivia Script Are You Using?
"Insanity Takes Its Toll, Please Have Exact Change"
N
Nada_Surf

Post by Nada_Surf »

if I grep timer.. then I get all the timers that I have declared.. eg nextgametimer, hinttimer.. etc... not the number one...


I'm using my own trivia script made from scratch.
P
Petersen
Owner
Posts: 685
Joined: Thu Sep 27, 2001 8:00 pm
Location: Blackpool, UK

Post by Petersen »

then you've written it poorly. you're either using list functions on strings, or (more likely in this instance) passing text to timers incorrectly. you'll have to paste the relevant code for us to help further.
User avatar
stdragon
Owner
Posts: 959
Joined: Sun Sep 23, 2001 8:00 pm
Contact:

Post by stdragon »

Nada - the timer87987 is not the name of the procedure. That's just the timer id. The actual procedure that was running isn't listed there. You should add debugging information to your script (putlog) so that you can tell exactly what is running when the error occurs, and where in the proc it occurs (try putlog "got to 1", putlog "got to 2", etc).
Locked