mIRC Home    About    Download    Register    News    Help

Print Thread
#167528 25/12/06 09:44 PM
Joined: Feb 2005
Posts: 344
B
Fjord artisan
OP Offline
Fjord artisan
B
Joined: Feb 2005
Posts: 344
Code:
var %x = 1
    while (%x <= 40) {
      did -i $dname 42,43,44,45,46,48 1 seticon 0 $+($calc(%x -1),$chr(44),$mircdiricons\list.icl)
      did -a $dname 42,43,44,45,46,48 %x 
    inc %x 1 }

this loop is from a nicklist script
this is part of the config dialog
here the icons a calledto show
but for some reason it takes 4-5 seconds before the show up.
Is there a way to make this code work faster ?

Thanks and Greetzz

Bullseye #167559 26/12/06 05:24 PM
Joined: Apr 2006
Posts: 399
K
Fjord artisan
Offline
Fjord artisan
K
Joined: Apr 2006
Posts: 399
Bullseye, You've had this problem before, even if I'd load something that would usually take a very long time to load, it would only take a millisecond, I don't know what to tell you, but, I'd probably clean out some of the stuff that you don't need in your mIRC directory.

Code:
var %x = 1
    while (%x <= 40) {
      did -i $dname 42,43,44,45,46,48 1 seticon 0 $+($calc(%x -1),$chr(44),$mircdiricons\list.icl)
      did -a $dname 42,43,44,45,46,48 %x 
      inc %x 
   }

the 1 isn't needed in the inc %x, it's set by default.

Last edited by Kurdish_Assass1n; 26/12/06 05:25 PM.
Joined: Feb 2005
Posts: 344
B
Fjord artisan
OP Offline
Fjord artisan
B
Joined: Feb 2005
Posts: 344
i know i had it before and tthe problem came out of nowhere.
my latest findings are that it takes longer using windows vista then when i use windows XP.
after taking the dialog appart this is the thing that toook a long time to show.
there isn't much in the mirc directory.
perhaps the problem is mdx and vista.
Changing everything into the other dll is taking way to long for someone like me.
perhaps i will someday but not yet.
Guess i have to live with the slow dialog.


Link Copied to Clipboard