hi i am trying to code a dialog kicker. i coded out a nicklist type section to where i could click on a nick on the left then click on a button and it will kick the nick. but i cant seem to work out how to code it where u click on the nick and it identifys it to kick. could anyone plz help me out so far i got
dialog kickdialog {
title "kickdialog"
size -1 -1 184 224
option dbu
icon C:\mirc.l\images\nuke.ico, 0
icon 1, 8 0 159 47, C:\mirc.l\Images\hi.jpg, 0
button "Button", 2, 104 208 37 12, ok
list 3, 0 56 74 106, sort size extsel
button "kick cust", 6, 80 56 37 12
}
on *:dialog:kickdialog:init:*:{
 mdxinit
 mdx SetControlMDX $dname 1001 positioner  minbox > dll\dialog.mdx
 loadnicks
 did -a $dname 2 $nick($active,0)
}
alias loadnicks {
 set %nickzchan $active
 set %n 0
 :start
 inc %n
 if ($nick($active,%n) isowner $active) {
  did -a $dname 3 $nick($active,%n) $chr(9)
  goto start
 }
 if ($nick($active,%n) isop $active) {
  did -a $dname 3 $nick($active,%n) $chr(9)
  goto start
 }
 if ($nick($active,%n) isvo $active) {
  did -a $dname 3 $nick($active,%n) $chr(9)
  goto start
 }
 if ($nick($active,%n) isreg $active) {
  did -a $dname 3 $nick($active,%n) $chr(9)
  goto start
 }
 On *:Dialog:kickdialog:sclick:6:{
and them im lost