Fixed reminders involving tells, added multiple word detection example in keywords.

This commit is contained in:
Storm Dragon committed 2016-09-16 22:00:59 -04:00
1 parent 387432cdcd
commit b6f2351a0e
3 files changed
+9 -1

No files matched your search

+5
View File
@@ -19,3 +19,8 @@ if [[ -n "${keywords[${w,,}]}" ]]; then
eval ${keywords[${w,,}]}
fi
done
# Example of dealing with multi word triggers.
if [[ "${wordList//[[:space:]]}" =~ .*nowplaying.* ]]; then
act "$chan" "cranks the volume up to 11!"
fi