$lactivewid would also be nice ...

... This is my coded version, it still has the same sort of DCC problem though so its sort of on the same lines of $activewid.

Code:
on *:active:*:{
  var %x = 0
  while (%x < $scon(0)) {
    inc %x 1
    if (%x == $lactivecid) {
      scon %x
      set %lactivewid = $window($lactive).wid
    }
  }
}

alias lactivewid { return %lactivewid }

Last edited by Jigsy; 28/01/06 10:20 PM.

What do you do at the end of the world? Are you busy? Will you save us?