Files
stormbot/modules
2025-10-27 15:14:14 -04:00
..
2025-10-25 03:30:20 -04:00
2025-10-27 01:02:20 -04:00
2025-10-27 15:14:14 -04:00
2025-10-24 21:35:41 -04:00
2025-10-24 21:35:41 -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.)