Code
dialog awaypager {
  title "Away pager"
  size -1 -1 396 244
  list 1, 12 18 138 214, size
}
on *:dialog:awaypager:*:*:{
  if ($devent == init) {
    mdx SetControlMDX $dname 1 TreeView nohscroll haslines hasbuttons showsel > $mdx.file(views)
  }
  elseif ($devent == sclick) {
    if ($did == 1) {
      tokenize 32 $did($did,1)
      if ($1 == sclick) { echo -s true }
   }
}


I have a problem and I am unable to find the solution. I want the actions to be taken with the left mouse button, but the code only works with the right button.
I've tried ($1 == slclick) and ($1 == sclick), but it only works with ($1 == rclick)

I'm going crazy loooolll


TECO
irc.PTirc.org (Co-Admin)