if { [string tolower [lindex $text 2]] == "lacks" } {
set chanaccess [join [split [string tolower [lindex $text 6 end]] "."]]
if { [channel get $chanaccess warnedaboutaccess] == 1 } {
putlog "Asked to raise my access"
return
}
putlog "I lack access in $chanaccess"
channel set $chanaccess warnedaboutaccess 1
return
}
this is where iam having trouble, the rest of the script works, but this one if $text 2 == lacks then it trys to channel set it i get no such channel record