HEX
Server: Apache
System: Linux pdx1-shared-a1-38 6.6.104-grsec-jammy+ #3 SMP Tue Sep 16 00:28:11 UTC 2025 x86_64
User: mmickelson (3396398)
PHP: 8.1.31
Disabled: NONE
Upload Files
File: //usr/share/ircII/help/load/repeat
!	 $eterna: repeat,v 1.8 2018/06/10 08:17:41 mrg Exp $
!
! Copyright (c) 1990-2018  Michael Sandrof, Troy Rollo, Matthew Green,
! and other ircII contributors.
!
! All rights reserved.  See the HELP IRCII COPYRIGHT file for more
! information.
!
Usage: LOAD repeat
  This is a sample of using the WHILE command in an alias.  Once
  loaded, here is its usage:

Additionnal commands available:
  REPEAT <count> <cmd>
  This will perform <cmd> for the number of times specified by
  <count>. For example:
    REPEAT 5 /msg bigcheese Hello!
  This will send the message "Hello!" to bigcheese 5 times.  
  The above example can get annoying, so try to not to use
  this to really bother people.

Note: repeat is an excellent example of how to use the WHILE
  construct.   Included in this script is the RECREPEAT command
  which works just like REPEAT but does so using recursion.
  Both are good simple examples.