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

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

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