mm this may help more :

Code:
on *:Dialog:nicklist:init:*: {
  dll dlls\rebar.dll Dock $dialog($dname).hwnd > right
  dll $mdx SetMircVersion $version
  dll $mdx MarkDialog $dname
  dll $mdx SetDialog $dname style sysmenu
  dll $mdx SetControlMDX $dname 11 ListView report single noheader > $views
  dll $mdx SetDialog $dname bgcolor $rgb(0,0,0)
  dll $mdx SetFont $dname 1,10,29,30,47,53 -12 600 Courier New
  dll $mdx SetFont $dname 2,4,6,8 -17 600 Arial
  dll $mdx SetFont $dname 14 -13 600 Arial
  dll $mdx SetColor $dname 31,32,26,3,5,7,9,20,41,42,15,60 text $rgb(255,0,0)
  dll $mdx SetColor $dname 2,4,6,8,14 text $rgb(252,252,252)
  dll $mdx SetColor $dname 31,32,26,3,5,7,9,20,41,42,15,60 textbg $rgb(0,0,0) << (black theme)
  dll $mdx SetColor $dname 2,4,6,8,14 textbg $rgb(0,0,0)<<(black theme)
  dll $mdx SetColor $dname 1,10,29,30,47,53,2,4,6,8,14 background $rgb(0,0,0) <<(black theme)
  did -i $dname 11 1 headerdims 160
  did -i $dname 11 1 iconsize normal small
  did -i $dname 11 1 seticon normal 0, $+ $ico(bcn.ico)
  did -i $dname 11 1 seticon normal 0, $+ $ico(owner.ico)
  did -i $dname 11 1 seticon normal 0, $+ $ico(host.ico)
  did -i $dname 11 1 seticon normal 0, $+ $ico(spec.ico)
  did -i $dname 11 1 seticon normal 0, $+ $ico(norm.ico)
  did -i $dname 11 1 seticon normal 0, $+ $ico(ignore.ico)
  did -i $dname 11 1 seticon normal 0, $+ $ico(cup.ico)
  did -i $dname 11 1 seticon normal 0, $+ $ico(voice.ico)
}



The ID for The list of the nicklist is 11

Code:
on *:DIALOG:nicklist*:*:11: {
  if ($gettok($did($dname,1),1,32) == sclick) { sline $active $calc($did($dname,11).sel - 1) }
  if ($gettok($did($dname,1),1,32) == dclick) {
    sline $active $calc($did($dname,11).sel - 1)
    query $nick($active,$calc($did($dname,11).sel - 1))
  }
  if ($gettok($did($did,1),1,32) == rclick) {
    sline $right($dname,-5) $calc($did($dname,11).sel - 1)
    %null = $dll($ndll,Popup,$!window(* $+ $right($dname,-6) $+ *,1))
  }
}


no one is working from the right or single click or even double

and if i changed the id in select event to 11 doesnt work or even echo any thing

Code:
if ($gettok($did($dname,1)