mIRC Home    About    Download    Register    News    Help

Print Thread
dialog helpo #92130 29/07/04 03:24 PM
Joined: Oct 2003
Posts: 306
J
jacksparrow2 Offline OP
Fjord artisan
OP Offline
Fjord artisan
J
Joined: Oct 2003
Posts: 306

i have this

on 69:open:*:{
if ($nick == chan) { echo $2 $1- | .dialog -m new_table new_table }
}

i want put the $1- into a list box how i do it?


list 8, 178 21 102 77, tab 1 size --- this is a list



THNX


mess with the best
Re: dialog helpo #92131 29/07/04 03:30 PM
Joined: Aug 2003
Posts: 19
P
Propogater Offline
Pikka bird
Offline
Pikka bird
P
Joined: Aug 2003
Posts: 19
did -a new_table 8 $1-

Yours,


Propogater @ DALnet, #HelpDesk and #Help
Re: dialog helpo #92132 29/07/04 03:45 PM
Joined: Oct 2003
Posts: 306
J
jacksparrow2 Offline OP
Fjord artisan
OP Offline
Fjord artisan
J
Joined: Oct 2003
Posts: 306
i am all ready try it but shows me the first line


mess with the best
Re: dialog helpo #92133 29/07/04 09:20 PM
Joined: Dec 2002
Posts: 1,245
M
MikeChat Offline
Hoopy frood
Offline
Hoopy frood
M
Joined: Dec 2002
Posts: 1,245
just to try things out I did this:
Code:
on *:open:*:{
  if ($nick == $me) {
    if ($dialog(new_table) != $null) { did -a new_table 8 $1- }
    if ($dialog(new_table) == $null) { dialog -m new_table new_table | did -a new_table 8 $1- }
  }
}
alias new_table dialog -m new_table new_table
dialog new_table {
  Title "New Table"
  Size -1 -1 100 200
  option dbu
  button "", 999, 0 0 0 0, cancel
  list 8, 1 1 80 190
}