i found your snippet codes for timer error, is it possible if you can help to make them work, i think that will be a great help for all users, since timer errors are pain..... i got a timer error
<eggy> [10:16] Tcl error in script for 'timer121047':
<eggy> [10:16] invalid command name "FS"
i tried these codes but didn't work....i will appreciate for you help
This will not rid you of timer problems. Instead of the normal error stating only the timer number, it will instead display the proc that caused the problem, and the error message.
To get it functioning, place it in a empty file and save it in the scripts dir.
Load the script before any other scripts.
From then on, any timer issues should give meaningful errors.
Hi ppslim, sorry i wasn't able to join this forum, but i did exactly you said, cos i wanna display the proc that caused the problem and the error message.
i have placed this in a empty file and saved as a text file and placed in a script dir, then loaded the script before anyother script, i mean on top of other scripts.
then restarted the bot, but i am getting all these error msgs
<Ta> [02:04] Tcl error in script for 'timer44421':
<Ta> [02:04] syntax error in expression "$t = "t""
<Ta> [02:04] Tcl error in script for 'timer44420':
<Ta> [02:04] syntax error in expression "$t = "t""
<Ta> [02:04] Tcl error in script for 'timer44419':
<Ta> [02:04] syntax error in expression "$t = "t""
<Ta> [02:04] Tcl error in script for 'timer44417':
<Ta> [02:04] syntax error in expression "$t = "t""
<Ta> [02:04] Tcl error in script for 'timer44422':
<Ta> [02:04] syntax error in expression "$t = "t""
i'll appreciate for your kind help
thanks
regards
aw
Hey ppslim, just one more modification you might want to make is to check if _timer and _utimer already exist (e.g. on rehash) so that you don't get an error trying to overwrite them.