mIRC Home    About    Download    Register    News    Help

Print Thread
#46674 03/09/03 12:06 AM
Joined: Aug 2003
Posts: 23
M
Ameglian cow
OP Offline
Ameglian cow
M
Joined: Aug 2003
Posts: 23
alias repeating {
var %repeat
while (%repeat) {
timer 0 300
echo hello
dec %repeat
}
}

i doing right or wrong please help ...

#46675 03/09/03 12:24 AM
Joined: Dec 2002
Posts: 397
A
Fjord artisan
Offline
Fjord artisan
A
Joined: Dec 2002
Posts: 397
what exactly are you trying to do here? just a simple script that repeats over and over?


Need amazing web design for low price: http://www.matrixn3t.net
#46676 03/09/03 12:29 AM
Joined: May 2003
Posts: 2,265
P
Hoopy frood
Offline
Hoopy frood
P
Joined: May 2003
Posts: 2,265
alias repeating {
var %repeat $1
var %word $2-
while (%repeat) {
echo %word
dec %repeat
}
}
/repeating <number of times> <sentence>


new username: tidy_trax
#46677 03/09/03 02:59 AM
Joined: Aug 2003
Posts: 23
M
Ameglian cow
OP Offline
Ameglian cow
M
Joined: Aug 2003
Posts: 23
thnx so much

#46678 03/09/03 08:54 AM
Joined: Dec 2002
Posts: 124
B
Vogon poet
Offline
Vogon poet
B
Joined: Dec 2002
Posts: 124
var %word $2- isnt needed at all , and if you're using several vars do var %1 value,%2 value,%3 value

just a tip from my side.


#46679 03/09/03 11:26 AM
Joined: May 2003
Posts: 2,265
P
Hoopy frood
Offline
Hoopy frood
P
Joined: May 2003
Posts: 2,265
didnt see the problem in doing it like that on a small script.


new username: tidy_trax

Link Copied to Clipboard