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
@@ -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.132685 seconds and 4 git commands to generate.