mIRC Home    About    Download    Register    News    Help

Print Thread
#12617 23/02/03 09:46 AM
Joined: Feb 2003
Posts: 34
S
ST3V3 Offline OP
Ameglian cow
OP Offline
Ameglian cow
S
Joined: Feb 2003
Posts: 34
is it possible to get all the chans that you are on into a dialog's list?
Code:
dialog chans {
  title "Chans"
  size -1 -1 167 118
  option dbu
  list 1, 4 3 159 111, size
}
  

if so how would you go about doing this?

#12618 23/02/03 09:53 AM
Joined: Dec 2002
Posts: 3,138
C
Hoopy frood
Offline
Hoopy frood
C
Joined: Dec 2002
Posts: 3,138
Code:
on *:DIALOG:chans:init:0:{
  var %c = 1
  while ( $chan(%c) ) {
    did -a chans 1 $chan(%c)
    inc %c
  }
}

/dialog -m chans chans

#12619 23/02/03 09:58 AM
Joined: Feb 2003
Posts: 34
S
ST3V3 Offline OP
Ameglian cow
OP Offline
Ameglian cow
S
Joined: Feb 2003
Posts: 34
Thanks Collective wink


Link Copied to Clipboard