mIRC Home    About    Download    Register    News    Help

Print Thread
#97808 16/09/04 09:45 PM
Joined: Aug 2004
Posts: 18
H
Pikka bird
OP Offline
Pikka bird
H
Joined: Aug 2004
Posts: 18
In my channel when I digit !getlist i download a file txt whit the list of the name into.
It's possible make a dialog with listbox and a button "get" that download the list and put the list of the file.txt into listbox?
So i can view the list of the name via listview.

Thanks in advance

#97809 18/09/04 02:35 PM
Joined: Mar 2003
Posts: 1,271
L
Hoopy frood
Offline
Hoopy frood
L
Joined: Mar 2003
Posts: 1,271
Short answer: yes it is possible.


DALnet #Helpdesk
I hear and I forget. I see and I remember. I do and I understand. -Confucius
#97810 18/09/04 02:41 PM
Joined: Mar 2003
Posts: 1,271
L
Hoopy frood
Offline
Hoopy frood
L
Joined: Mar 2003
Posts: 1,271
Long answer:

Code:
[color:green]; the first if () checks if the file you got is what you wanted - remove if you don't know the filename up front[/color]
[color:green]; the second if () checks if the dialog is opened - can't loadbuf if it isn't[/color]
[color:green]; the loadbuf dumps the file into the listbox[/color]
[color:green]; replace [color:blue]dname[/color] with the dialogname and [color:blue]id[/color] with the listbox id and [color:blue] filename.txt[/color] with the filename[/color]
on *:FILERCVD:*: if ($filename == [color:blue]filename.txt[/color]) && ($dialog([color:blue]dname[/color])) loadbuf -o [color:blue]dname id[/color] $filename


DALnet #Helpdesk
I hear and I forget. I see and I remember. I do and I understand. -Confucius
#97811 20/09/04 11:13 AM
Joined: Aug 2004
Posts: 18
H
Pikka bird
OP Offline
Pikka bird
H
Joined: Aug 2004
Posts: 18
thank a lot your very kindle.
HM


Link Copied to Clipboard