Code: Select all
set authlvl [chattr $vhandle]
if {[string equal $authlvl "o"]} {
set authlvl "Level 1"
} elseif {[string equal $authlvl "m"]} {
set authlvl "Level 20"
} elseif {[string equal $authlvl "n"]} {
set authlvl "Level 999"
} else {
set authlvl "none"}
Could someone tell me what im doing wrong?
I've tried this aswell but no luck
Code: Select all
} elseif {[string equal $authlvl "*n*"]} {
Code: Select all
putquick "NOTICE $nick :Auth level : $authlvl"