i want to enable the controls on tab(202), and populate a listbox with nicks from the channel
i also have another tab with an checkbox on it as well. i wonder if they are conflicting with each other. don't think so though. i think i am just missing something or not using the right terminology.
here isare the lines for the two checkboxes:
elseif ($did(80).state == 1) {
did -e AutoList 81 | did -e AutoList 100 | did -e AutoList 94 | did -e AutoList 95 | did -e Autolist 96 | did -e AutoList 97 | did -e AutoList 98 | did -e AutoList 99
did -e AutoList 142 | did -e AutoList 143 | did -e Autolist 144 | did -e AutoList 145 | did -e AutoList 146 | did -e AutoList 147 | did -e AutoList 101
}
elseif ($did(80).state == 0) {
did -b AutoList 81 | did -b AutoList 100 | did -b AutoList 94 | did -b AutoList 95 | did -b Autolist 96 | did -b AutoList 97 | did -b AutoList 98 | did -b AutoList 99
did -b AutoList 142 | did -b AutoList 143 | did -b Autolist 144 | did -b AutoList 145 | did -b AutoList 146 | did -b AutoList 147 | did -b AutoList 101
}
if ($did(203).state == 1) {
did -e AutoList 207 | did -e AutoList 206 | did -e AutoList 205 | did -e AutoList 204 | did -r $dname 206
var %x = 1
while $nick(%uno.channel,%x) {
did -a $dname 206 $v1
inc %x
}
}
if ($did(203).state == 0) {
did -r AutoList 206 | did -b AutoList 207 | did -b AutoList 206 | did -b AutoList 205 | did -b AutoList 204
}
they both function as an enable/disable controls.
But yes essentially all i want to do is list the nicks in the channel in the listbox upon enabling the controls on the tab. i need to be able to use the dclick function on the listbox but every click refreshes the list.