Table of Contents

# $EPIC: chngw.txt,v 1.4 2007/03/02 02:32:04 jnelson Exp $

Synopsis:

$chngw(<index> <word> <word list>)

Technical:

Practical:

If you need to change one of the words in a word list, use this function. I originally used this function to permit changes to access levels on my bot on the fly.

Returns:

<word list> with the <index>th word changed to <word>, counting from zero.

Examples:

$chngw(2 blah foo bar booya) returns “foo bar blah”

History:

This function first appeared in “plus-2” (post-ircII, pre-EPIC)