Ok, I am coming into this late and may not know all of what is going on, but what about just doing this?
Code:
on *:dialog:addauth:edit:*:{
if ($did == 2 || $did == 4 || $did == 6) {
if ($did(2) && $did(4) && $did(6) && $did(8).sel) {
did -e $dname 9
}
else {
did -b $dname 9
}
}
}
on *:dialog:addauth:sclick:8:{
if ($did(2) && $did(4) && $did(6) && $did(8).sel) {
did -e $dname 9
}
else {
did -b $dname 9
}
}
Btw, the first IF statement in the edit section wouldn't be needed if you put the IDs in the on dialog line. I did it this way since you are having problems and this is more basic.