// (c) 2011 Richard Carter
// This code is licensed under the MIT license; see LICENSE.txt for details.

// This script handles the following functions:
//     When someone says something that starts with "say", repeats what was to be said. Example:
//         <person> say it again
//         <nodebot> it again

listen(/PRIVMSG [^ ]+ :say (.+)$/i, function(match, data, replyTo) {
	irc.privmsg(replyTo, match[1]);
});

// (c) 2011 Richard Carter
// This code is licensed under the MIT license; see LICENSE.txt for details.

// This script handles the following functions:
//     When someone says something that starts with "say", repeats what was to be said. Example:
//         <person> say it again
//         <nodebot> it again

listen(/PRIVMSG [^ ]+ :~?say (.+)$/i, function(match, data, replyTo) {
	irc.privmsg(replyTo, match[1]);
});

Allow for ~say in addition to just say
Allow for ~say in addition to just say
