mIRC Home    About    Download    Register    News    Help

Print Thread
#11763 17/02/03 05:19 PM
Joined: Feb 2003
Posts: 7
C
carvell Offline OP
Nutrimatic drinks dispenser
OP Offline
Nutrimatic drinks dispenser
C
Joined: Feb 2003
Posts: 7
Does anyone know a way in mIRC to have it so that you can still use your
computer and mIRC while mIRC is in a loop, the system hangs while mIRC is in a loop normally, in visual basic you just stick a
DoEvents command in, any alternatives to this in miRC scripting?

Thanks in advance,

Andy

#11764 17/02/03 09:11 PM
Joined: Dec 2002
Posts: 1,321
H
Hoopy frood
Offline
Hoopy frood
H
Joined: Dec 2002
Posts: 1,321
You can put your loop in an alias, then have that alias call itself with a timer passing the loop index as a parameter. That will "break out of the loop" long enough to do other stuff, such as replying to the Ping? Pong! or updating channel/query windows. Depending on how long you run the loop for compared to how long the timer duration is, you can eventually get it down to where you can only minimally notice a lag in typing/updating even during a long loop.


DALnet: #HelpDesk and #m[color:#FF0000]IR[color:#EEEE00]C

Link Copied to Clipboard