napa182 commented on a Page, AutoOp Mode (+w) List (Access List)  -  Jul 30, 2011

A lot of unused space on the dialog. Maybe make it smaller an incorporate hsbar in the list box for the addys so you don't have to make the dialog so dang big. But to each their own I guess.

just on a fast look at your snippet you can take this:

on 1:dialog:WList:sclick:6: {
  did -u WList 7
  did -u WList 8
  did -u WList 9
  did -u WList 10
}
on 1:dialog:WList:sclick:7: {
  did -u WList 6
  did -u WList 8
  did -u WList 9
  did -u WList 10
}
on 1:dialog:WList:sclick:8: {
  did -u WList 6
  did -u WList 7
  did -u WList 9
  did -u WList 10
}
on 1:dialog:WList:sclick:9: {
  did -u WList 6
  did -u WList 7
  did -u WList 8
  did -u WList 10
}
on 1:dialog:WList:sclick:10: {
  did -u WList 6
  did -u WList 7
  did -u WList 8
  did -u WList 9
}

and do this:

on 1:dialog:WList:sclick:6: {
  did -u WList 7-10
}
on 1:dialog:WList:sclick:7: {
  did -u WList 6,8-10
}
on 1:dialog:WList:sclick:8: {
  did -u WList 6,7,9,10
}
on 1:dialog:WList:sclick:9: {
  did -u WList 6-8,10
}
on 1:dialog:WList:sclick:10: {
  did -u WList 6-9
}

Or even this way..

on 1:dialog:WList:sclick:*: {
  if ($did = 6) { did -u WList 7-10 }
  elseif ($did = 7) { did -u WList 6,8-10 }
  elseif ($did = 8) { did -u WList 6,7,9,10 }
  elseif ($did = 9) { did -u WList 6-8,10 }
  elseif ($did = 10) { did -u WList 6-9 }
}

il look at it more later...;x

 Respond  
Are you sure you want to unfollow this person?
Are you sure you want to delete this?
Click "Unsubscribe" to stop receiving notices pertaining to this post.
Click "Subscribe" to resume notices pertaining to this post.