SnowX™ Posted July 3, 2005 Report Share Posted July 3, 2005 hello Guys for a wile now i have been trying to make my self a nicklist with icons for use in chat use i have been getting help from Haggis and this is what we have come up with so far dialog nicklist { title "New Project" size -1 -1 208 576 option pixels list 1, 96 24 100 532, size scroll "", 2, 192 24 17 532 } alias listnicks { did -r nicklist 1 set %x 1 while ($nick($active,%x)) { did -a nicklist 1 $nick($active,%x) inc %x } } dll $mdx SetMircVersion $version dll $mdx MarkDialog $dname dll $mdx SetDialog $dname style dll $mdx SetControlMDX $dname 2 ListView noheader report single > $views did -i $dname 1 1 headerdims 100 did -i $dname 1 1 headertext $remove($active,$left($active,5)) did -i $dname 1 1 seticon list $icon(gold.ico) did -i $dname 1 1 seticon list $icon(brown.ico) did -i $dname 1 1 seticon list $icon(cusa.ico) did -i $dname 1 1 seticon list $icon(man.ico) did -i $dname 1 1 seticon list $icon(fem.ico) did -i $dname 1 1 seticon list $icon(no.ico) did -i $dname 1 1 seticon list $icon(away.ico) did -i $dname 1 1 seticon list $icon(mirc.ico) i am really as this is my first atemp so i need help i am a NOOB at this i have got this far and do not no where to go nest lol and help whould be awsome ThanX snow Link to comment Share on other sites More sharing options...
Haggis Posted July 3, 2005 Report Share Posted July 3, 2005 (edited) You missed out the aliases for the dll's alias views { return dll\views.mdx } alias mdx { return dll\mdx.dll } alias icon { return icons\ $+ $1- } dialog nicklist { title "New Project" size -1 -1 208 576 option pixels list 1, 96 24 100 532, size scroll "", 2, 192 24 17 532 } alias listnicks { did -r nicklist 1 set %x 1 while ($nick($active,%x)) { did -a nicklist 1 $nick($active,%x) inc %x } } u missed the init code on *:DIALOG:nicklist:init:0: { dll $mdx SetMircVersion $version dll $mdx MarkDialog $dname dll $mdx SetDialog $dname style dll $mdx SetControlMDX $dname 2 ListView noheader report single > $views did -i $dname 1 1 headerdims 100 did -i $dname 1 1 headertext $remove($active,$left($active,5)) did -i $dname 1 1 seticon list $icon(gold.ico) did -i $dname 1 1 seticon list $icon(brown.ico) did -i $dname 1 1 seticon list $icon(cusa.ico) did -i $dname 1 1 seticon list $icon(man.ico) did -i $dname 1 1 seticon list $icon(fem.ico) did -i $dname 1 1 seticon list $icon(no.ico) did -i $dname 1 1 seticon list $icon(away.ico) did -i $dname 1 1 seticon list $icon(mirc.ico) } then just in ur loop (listnicks) get it to work out whos a owner, host, away, female, male, admin, away, ignore etc etc Edited July 3, 2005 by Haggis Link to comment Share on other sites More sharing options...
SnowX™ Posted July 3, 2005 Author Report Share Posted July 3, 2005 Thanks i will add it and keep going Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now