mIRC Home    About    Download    Register    News    Help

Print Thread
#182522 10/08/07 05:37 PM
Joined: Jun 2007
Posts: 157
W
Vogon poet
OP Offline
Vogon poet
W
Joined: Jun 2007
Posts: 157
so i have in one folder txt files that are loaded (names)
upon dialog init in Listbox control (id 3)
and when i click on name of txt file in Listbox
i wish it to load its content in Edit control (id 4)

i have this but i dont understand why it wont load
content of a file...

Code:
on *:dialog:dialog_name:sclick:*:{ 
  if (did == 3) { loadbuf -o $dname 4 $mircdirnotes\ $+ $did($did).seltext $+ .txt }
}


any suggestions ?


The harder I chase my dreams the more I experience the time for smiles and tears...
Joined: Sep 2005
Posts: 2,881
H
Hoopy frood
Offline
Hoopy frood
H
Joined: Sep 2005
Posts: 2,881
You have "did" in the if statement, not "$did"

Joined: Jun 2007
Posts: 157
W
Vogon poet
OP Offline
Vogon poet
W
Joined: Jun 2007
Posts: 157
haha
ok im morron smile
*shame mode*

thanks lol


The harder I chase my dreams the more I experience the time for smiles and tears...

Link Copied to Clipboard