1# $EPIC: recursion,v 1.3 2001/11/28 09:13:10 anders Exp $ 2Synopsis: 3 load recursion 4 5Description: 6 This script primarily serves as a working example of how to write 7 recursive aliases. The examples provided fairly suitable for everyday 8 use (though only irc operators may use some of them). 9 10 Alias Description 11 /conbunch CONNECT an arbitrary number of servers to current one 12 /iterate run given command once for each argument 13 /kickbunch KICK an arbitrary number of people from current channel 14 /opalot (de)op any number of people 15 /squitbunch SQUIT an arbitrary number of servers 16 /versbunch VERSION an arbitrary number of nicknames or servers 17 18Examples: 19 To ping several people at once: 20 /iterate ping joebob jimbob toejam junebug 21 22 To deop several jerks in the currentchannel: 23 /opalot - jerk1 jerk2 jerk3 jerk4 jerk5 24 25See Also: 26 connect(3); fe(8); kick(1); load(5); mode(1); set(4) max_recursions; 27 squit(3); version(2) 28 29Restrictions: 30 The MAX_RECURSIONS setting limits the number of times an alias may call 31 itself. 32 33Other Notes: 34 The need for recursion has largely been deprecated in EPIC with the 35 introduction of FE. This script was written by Ian Frechette (Daemon), 36 frechett@spot.colorado.edu. 37