mIRC Home    About    Download    Register    News    Help

Print Thread
#53770 11/10/03 08:12 PM
Joined: Oct 2003
Posts: 5
V
Vsetup Offline OP
Nutrimatic drinks dispenser
OP Offline
Nutrimatic drinks dispenser
V
Joined: Oct 2003
Posts: 5
Hi!
Well, my english is very poor, but, i think you can understand me. The idea: between commands blocks, a /delay works like a /timer, and the execution of block wait a few miliseconds. Like this:
on *:join:#chan: {
msg $nick Hi!
delay 3000
;wait 3000 miliseconds
msg $nick Hi Again!
}

It's possible to make this in a newer version?

::: Pra quem entende português:

Tipo, você tem um bloco de comandos, como o acima, então você usa um /delay (segundos) e ele espera o tanto especificado ali pra continuar com o bloco.
vlw smile


·: Šystem Faiulre :·
#53771 11/10/03 08:14 PM
Joined: Dec 2002
Posts: 2,809
C
Hoopy frood
Offline
Hoopy frood
C
Joined: Dec 2002
Posts: 2,809
The problem with a /delay command is that it will freeze mIRC completely. This is because mIRC is single threaded. Until Khaled gets around to making it multi-threaded, I doubt this command will be added.

#53772 11/10/03 08:17 PM
Joined: Oct 2003
Posts: 5
V
Vsetup Offline OP
Nutrimatic drinks dispenser
OP Offline
Nutrimatic drinks dispenser
V
Joined: Oct 2003
Posts: 5
wow! Faster! He he.. tks..


·: Šystem Faiulre :·
#53773 12/10/03 02:42 AM
Joined: Dec 2002
Posts: 196
T
Vogon poet
Offline
Vogon poet
T
Joined: Dec 2002
Posts: 196
Hmm then the OS used must support Multi-threading too, I assume?


trenzterra
AustNet #trenzterra and #w
Head Scripter @ http://trenzterra.uni.cc
#53774 12/10/03 03:19 AM
Joined: Dec 2002
Posts: 2,809
C
Hoopy frood
Offline
Hoopy frood
C
Joined: Dec 2002
Posts: 2,809
Yes, but every version of Windows since like 3.0 supports threading, and for those who run mIRC in WINE, Linux has supported it for a while now too, so that's not an issue. Pretty much every modern OS has threading support.


Link Copied to Clipboard