GIT.Harvie.CZ
/
mirrors
/
libpurple-core-answerscripts.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Renamed scripts to obey rules (numbered filenames) that will be brought in next commit
[mirrors/libpurple-core-answerscripts.git]
/
purple
/
answerscripts.d
/
50-autokiss.sh
diff --git a/purple/answerscripts.d/50-autokiss.sh
b/purple/answerscripts.d/50-autokiss.sh
new file mode 100755
(executable)
index 0000000..
572dc92
--- /dev/null
+++ b/
purple/answerscripts.d/50-autokiss.sh
@@ -0,0
+1,4
@@
+#!/bin/sh
+#AutoKiss :-* (just wanna be polite)
+shuf="$(which shuf 2>/dev/null)"; [ -x "$shuf" ] || shuf="cat"; #shuffle if possible
+echo $(echo "$ANSW_MSG" | grep -Eo ':-\*|\*IN LOVE\*|:-\{\}|\*KISSING\*' | "$shuf" );
This page took
0.147265 seconds
and
4
git commands to generate.