aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Phillips <david@yeah.nah.nz>2018-10-29 20:42:40 +1300
committerDavid Phillips <david@yeah.nah.nz>2018-10-29 20:42:40 +1300
commit2d979a4ecc83b7760206222591df65f4af09c05e (patch)
tree52671cb6f4fbe136d1f6fb5abdf965121e3be196
parent85f57b32604465d7a0c460c6fdaeeaa2c8522872 (diff)
downloadidalius-2d979a4ecc83b7760206222591df65f4af09c05e.tar.xz
Natural: Adjustments
-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;
}