mIRC Home    About    Download    Register    News    Help

Print Thread
#114081 12/03/05 01:58 AM
Joined: Oct 2003
Posts: 306
J
Fjord artisan
OP Offline
Fjord artisan
J
Joined: Oct 2003
Posts: 306
alias nicks {
:begin
did -a mdx_dialog 3 0 1 $nick(#,%tx)
inc %tx
if %tx > $Nick(#,0) { set %tx 1 | halt }
goto begin
}
}


when i click , i have a problem the mirc is close by peer

on 1:dialog:mdx_dialog:sclick:6: {
.nicks
}

but when i use it calling alias its work fine


any help please


mess with the best
#114082 12/03/05 02:44 AM
Joined: Dec 2002
Posts: 3,547
S
Hoopy frood
Offline
Hoopy frood
S
Joined: Dec 2002
Posts: 3,547
Try something like...

Code:
alias nicks {
  var %x = $nick($chan,0)
  while (%x) {
    did -a [color:red]<dialog>[/color] [color:red]<ID>[/color] $nick($chan,%x)
    dec %x
  }
}

on 1:dialog:mdx_dialog:sclick:6: {
  did -r [color:red]<dialog>[/color] [color:red]<ID>[/color] 
  nicks
}



Change <dialog> to your dialog name.
Change <ID> to the ID number.


Link Copied to Clipboard