litlle help neded - 21/07/04 02:21 AM
hi, i am new at scripts so i came here for some wisdom
i have a dialog and a labelbox on it, and i want it to display
my idle time on that label and to be updated every 1 second,
and since i dont wanna call raw 317 every 1 second (flood)
i found this online in 1 script $duration($idle)
so i stored it in %idler and made this:
on 1:CONNECT: { /idler }
idler {
:idup
var %tempidle = 1
while (%tempidle != 0) {
/set %idler $duration($idle)
inc %tempidle
timer 3 3 goto idup
}
}
thing is that my mirc freezes when i connect and trigger aliases dunno why... i thought it is cos of timer so i made it
to update every 3 seconds, but it freezes again
why ?
i have a dialog and a labelbox on it, and i want it to display
my idle time on that label and to be updated every 1 second,
and since i dont wanna call raw 317 every 1 second (flood)
i found this online in 1 script $duration($idle)
so i stored it in %idler and made this:
on 1:CONNECT: { /idler }
idler {
:idup
var %tempidle = 1
while (%tempidle != 0) {
/set %idler $duration($idle)
inc %tempidle
timer 3 3 goto idup
}
}
thing is that my mirc freezes when i connect and trigger aliases dunno why... i thought it is cos of timer so i made it
to update every 3 seconds, but it freezes again
why ?