mIRC Home    About    Download    Register    News    Help

Print Thread
$pause #33384 01/07/03 03:32 PM
Joined: Jan 2003
Posts: 73
K
kupotek Offline OP
Babel fish
OP Offline
Babel fish
K
Joined: Jan 2003
Posts: 73
i hate trying to figure out a slew of timers in a popup that really doesnt work like that. timers stumble over other timers..

so i suggest $pause(n)

this willallow you to set any pause within a script where n is the length of pause smile

Re: $pause #33385 01/07/03 03:39 PM
Joined: Dec 2002
Posts: 2,809
C
codemastr Offline
Hoopy frood
Offline
Hoopy frood
C
Joined: Dec 2002
Posts: 2,809
It's been suggested before. Khaled said, at this time, it's not possible because mIRC is single threaded. A $pause or /pause would cause all of mIRC to freeze for the specified time.

Re: $pause #33386 01/07/03 04:13 PM
Joined: Jan 2003
Posts: 73
K
kupotek Offline OP
Babel fish
OP Offline
Babel fish
K
Joined: Jan 2003
Posts: 73
Isnt it time mirc became multithreaded?

Last edited by kupotek; 01/07/03 04:16 PM.
Re: $pause #33387 01/07/03 04:41 PM
Joined: Dec 2002
Posts: 2,809
C
codemastr Offline
Hoopy frood
Offline
Hoopy frood
C
Joined: Dec 2002
Posts: 2,809
I agree, however, having done work with threads, I know how difficult it is to get it working correctly. It is very easy to introduce hundreds if not thousands of bugs when you add threading.

Re: $pause #33388 01/07/03 04:58 PM
Joined: Feb 2003
Posts: 2,700
Raccoon Offline
Hoopy frood
Offline
Hoopy frood
Joined: Feb 2003
Posts: 2,700
And besides, there is no valid reason to for a /pause command, and often /timers can be avoided if only people knew how.

Example: Many people still set a timer for N seconds after they join a channel, so they can see who is opped before they send their Op-Request /msg. This is easily avoided by using the RAW 366 End Of /Names event.

If they want to argue that /pause can be used in any place a /timer is used, then yea, I suppose one could get away with that.

- Raccoon


Well. At least I won lunch.
Good philosophy, see good in bad, I like!