Fixed the multiword example in triggers/keywords, I think...
This commit is contained in:
parent
9b09081092
commit
d3f3642697
@ -21,6 +21,6 @@ fi
|
|||||||
done
|
done
|
||||||
|
|
||||||
# Example of dealing with multi word triggers.
|
# Example of dealing with multi word triggers.
|
||||||
if [[ "${wordList//[[:space:]]}" =~ .*nowplaying.* ]]; then
|
if [[ "${wordList//[[:space:]]/}" =~ nowplaying ]]; then
|
||||||
act "$chan" "cranks the volume up to 11!"
|
act "$chan" "cranks the volume up to 11!"
|
||||||
fi
|
fi
|
||||||
|
Loading…
x
Reference in New Issue
Block a user