aboutsummaryrefslogtreecommitdiff
path: root/Plugin
diff options
context:
space:
mode:
Diffstat (limited to 'Plugin')
-rw-r--r--Plugin/Natural.pm6
1 files changed, 5 insertions, 1 deletions
diff --git a/Plugin/Natural.pm b/Plugin/Natural.pm
index c62c1f3..b324e8b 100644
--- a/Plugin/Natural.pm
+++ b/Plugin/Natural.pm
@@ -61,7 +61,7 @@ sub choose_normal_response {
return some("owie", ":(");
} elsif ($what =~ /(\b(ow|owie|yow|yowie|ouchie)\b|(:\(|:'\())/i) {
return some("oh no!", "*hugs $nick", "*bakes a cake for $nick");
- } elsif ($what =~ /\b(lol\b|kek\b|lel\b|lolol|haha|hehe|jaja)/i) {
+ } elsif ($what =~ /^\b(lol\b|kek\b|lel\b|lolol|haha|hehe|jaja)$/i) {
return some(":)", ":D", "hehe");
} elsif ($what =~ /\b(:o)\b/i) {
return some("?", "รถ", ":O", "!!");
@@ -69,6 +69,10 @@ sub choose_normal_response {
return some("D:", "ono", "*throws a lifeline to $nick");
} elsif ($what =~ /(:D|:\)|D:|:\||:\\|:C|:S)/) {
return some(":D", ":)", "D:", ":|", ":/", ":\\", ":S", ">:D", ">:(", ">>>:CCCC");
+ } elsif ($what =~ /^o\/$/) {
+ return "\\o";
+ } elsif ($what =~ /^\\o$/) {
+ return "o/";
}
return;
}