Forum Discussion
Joe_Hsy_45207
Feb 05, 2008Nimbostratus
Hi Aaron,
Great suggestion! I actually found another way instead of using "catch" by using the tcl "info command". It seems to work and it only needs to execute once at rule_init:
set TMOS94command [info command AUTH::subscribe]
if { $TMOS94command != "" } {
set ::TMOS94 1
} else {
set ::TMOS94 0
}
Since AUTH::subscribe is introduced in 9.4, the command does not show up when calling info command below 9.4.
Thanks for your help as always!
//Joe