Initial import of the ircii-pana-1.1-final source tree.
git-svn-id: svn://svn.code.sf.net/p/bitchx/code/tags/ircii-pana-1.1-final@1 13b04d17-f746-0410-82c6-800466cd88b0
This commit is contained in:
25
bitchx-docs/8_Scripts/repeat
Normal file
25
bitchx-docs/8_Scripts/repeat
Normal file
@@ -0,0 +1,25 @@
|
||||
Synopsis:
|
||||
load repeat
|
||||
|
||||
Description:
|
||||
This script is mostly an intellectual exercise. It shows several
|
||||
different ways of writing a /repeat command, varying from FE, FOR, and
|
||||
WHILE loops to alias recursion. All function the same:
|
||||
|
||||
/repeat <count> <command>
|
||||
|
||||
This causes the given command to be executed the specified number of
|
||||
times. The current version even allows itself to be called recursively.
|
||||
Refer to the source code for more information.
|
||||
|
||||
Examples:
|
||||
To remind yourself to get off irc:
|
||||
/repeat 10 echo *** GET OFF IRC IT IS ROTTING YOUR BRAIN!!GGGG
|
||||
|
||||
See Also:
|
||||
load(5); recursion(8); repeat(5)
|
||||
|
||||
Other Notes:
|
||||
This script has been contributed to be many people. The most recent
|
||||
modifications come frm Jeremy Nelson (hop), jnelson@acronet.net.
|
||||
|
||||
Reference in New Issue
Block a user