mIRC Home    About    Download    Register    News    Help

Print Thread
#169877 30/01/07 02:01 AM
Joined: Jan 2007
Posts: 4
R
Revy Offline OP
Self-satisified door
OP Offline
Self-satisified door
R
Joined: Jan 2007
Posts: 4
I have a problem on my script, let me make an example

Example:

Code:
Line 1
Line 2
Line 3
Line 4

Line 5 - My X Line 

Line 6
Line 7
Line 8
Line 9


In the X line I want a kind of timer that counts 10 seconds, AND only after those 10 seconds the script continues (line 6,7,8,9)

Those 4 Lines(6,7,8,9) cannot be started before those 10 seconds from the X line.

I hope that I was clear enough in my explanations.

Joined: Aug 2004
Posts: 7,252
R
Hoopy frood
Offline
Hoopy frood
R
Joined: Aug 2004
Posts: 7,252
Here's a possible example. Since I don't know what's happening with those lines, there may be other ways of doing this.
Code:
Line 1
Line 2
Line 3
Line 4
timer 1 10 lines 6-9

Code:
alias lines {
line 6
line 7
line 8
line 9
}


The last lines of the code are put into an alias, and that alias is called via the timer command. If this is insufficient information, please be more specific as to what you're wanting to do and we'll be happy to help.

Joined: Aug 2005
Posts: 525
S
Fjord artisan
Offline
Fjord artisan
S
Joined: Aug 2005
Posts: 525
You may or may not find this to be of use.

/pause by FiberOPtics

As Russel pointed out, we don't know entirely what you're trying to do. Although, I'm guessing a timer would suffice as he suggested.

Joined: Jan 2007
Posts: 4
R
Revy Offline OP
Self-satisified door
OP Offline
Self-satisified door
R
Joined: Jan 2007
Posts: 4
Thanks for your answers , all worked well but that /pause alias is wonderful smile


Link Copied to Clipboard