Hi Everyone
Can any help as into why this routine wont work, its only a small snippet from a very old script & i understand that getxtra & setxtra are not used now, can anyone help in how i can convert these statements to work please, many thanx
if {($handle == "*") && (![validuser $nick]) && ($mask != "*")} {
adduser $nick $mask
chattr $nick "-ofxp"
chattr $nick "+0"
setxtra $nick "0 0 0 0 0"
set handle $nick
save
} elseif {[validuser $nick]} {
set ustatus [getxtra $nick]
if {$ustatus == ""} {
chattr $nick "+0"
setxtra $nick "0 0 0 0 0"
save
} elseif {[llength $ustatus] < 5} {
chattr $nick "+0"
setxtra $nick "$ustatus 0"
save
}
}