stormbot/modules
2016-09-03 14:57:19 -08:00
..
args changed module store style, removed the pow 2013-07-22 18:37:13 +01:00
azhu upped version 2013-07-23 13:28:33 -04:00
fortune Added Fortune Module, hope it works. 2016-09-03 14:57:19 -08:00
help changed module store style, removed the pow 2013-07-22 18:37:13 +01:00
ping Moving common functions to a functions file. 2016-09-03 00:14:12 -04:00
rps Rock, Paper, Scissors is fixed. 2016-09-03 10:25:55 -04:00
sex Sex for the bot. 2016-09-03 10:35:20 -04:00
sing Lyrics for the bot. 2016-09-03 18:28:43 -04:00
talk changed module store style, removed the pow 2013-07-22 18:37:13 +01:00
README.md Module docs for making it easier to write modules. 2016-09-03 11:31:18 -04:00

When creating modules, remember to source the functions file so all the info it contains will be available. [ -f functions.sh ] && source functions.sh Modules are given two parameters, $1 is the nick of the person who called the module, and $2 is the channel. You need at least $2 when sending a message to a channel, like the following: msg "$2" the rest of your message (quotes are optional, but be careful to escape things if you don't use quotes.)