While Loop demonstration
Please Register to submit score.
| Average Score | 7.6 |
| Scores Submitted | 9 |
| Date Added | Sep 19, 2003 |
| Last Updated | Nov 28, 2005 |
| Tags | alias while |
Introduction
mIRC Snippet:
While Loop demonstration
Posted on Nov 25, 2003 9:22 am
Posted on Nov 25, 2003 9:22 am
AAAAAAAAAAAAAARRRRRRRRRRRRGGGGGGGGGGGGGGG!!!
mIRC Snippet:
While Loop demonstration
Posted on Apr 19, 2005 2:56 am
Posted on Apr 19, 2005 2:56 am
A nice snippet.
mIRC Snippet:
While Loop demonstration
Posted on Sep 12, 2005 10:20 am
Posted on Sep 12, 2005 10:20 am
AAAAAAAAAAAAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAAAAAAAAAA
* Break: command halted
AAAAAAAAAAAAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAAAAAAAAAA
* Break: command halted
mIRC Snippet:
While Loop demonstration
Posted on Sep 12, 2005 2:47 pm
Posted on Sep 12, 2005 2:47 pm
what did you do to it tokenmaster? The alias works fine.
mIRC Snippet:
While Loop demonstration
Posted on Jan 12, 2007 11:34 am
Posted on Jan 12, 2007 11:34 am
if you make %i = 0 you can loop it and increase the variable before the commands which gives you more flexibility.
alias harr {
var %i = 0
while (%i <= 10) {
inc %i
echo -a $+($ord(%i),!)
}
}
will do like
1!
2!
3!
4!
etc which is good for looping through a hash table or even a text file, I use it in my stat script (runescape) to loop through the items which can be used to get to the next level which turns out like this:
Green Dragons: 888 Red Dragons: 666
etc etc
anyway its rly a matter of preferrence :) to each his own ;)
alias harr {
var %i = 0
while (%i <= 10) {
inc %i
echo -a $+($ord(%i),!)
}
}
will do like
1!
2!
3!
4!
etc which is good for looping through a hash table or even a text file, I use it in my stat script (runescape) to loop through the items which can be used to get to the next level which turns out like this:
Green Dragons: 888 Red Dragons: 666
etc etc
anyway its rly a matter of preferrence :) to each his own ;)
mIRC Snippet:
While Loop demonstration
Posted on Jan 12, 2007 11:35 am
Posted on Jan 12, 2007 11:35 am
sorry about the double post.. :x
but it will return:
will do like
1st!
2nd!
3rd!
4th!
but it will return:
will do like
1st!
2nd!
3rd!
4th!




