I've been trying to setup a timer to execute a proc within my namespace and assign the timer id to tmrid so I can kill the timer later.
Code: Select all
set tmrid [ timer 15 [[namespace current]::compare_cache forum] ]
Code: Select all
set tmrid [ timer 15 [[namespace current]::compare_cache forum] ]
Code: Select all
set tmrid [list timer 15 [namespace current]::compare_cache forum]
[list ... is in the wrong place, this will simply set the variable "tmrid" to a list of text.....awyeah wrote:Try this:
***Code: Select all
set tmrid [list timer 15 [namespace current]::compare_cache forum]
There was an extra bracket as stdragon mentioned.
It should work with the list command.