Das ist nicht lustig!

Aber Funny!
This commit is contained in:
Akamaru 2016-09-05 23:28:55 +02:00
parent 2ebf439b9f
commit 73d48b3c75
1 changed files with 4 additions and 1 deletions

View File

@ -31,7 +31,8 @@ special.triggers = {
"^/%)$",
"^%(\\$",
"^/[Ss][Cc][Hh][Ee][Ll][Ll][Ee]$",
"^[Pp][Ii][Nn][Gg]$"
"^[Pp][Ii][Nn][Gg]$",
"^[Dd][Aa][Ss] [Ii][Ss][Tt]? [Nn][Ii][Cc][Hh][Tt]? [Ll][Uu][Ss][Tt][Ii][Gg]!?$"
}
@ -119,6 +120,8 @@ function special:action(msg, config, matches)
output = 'So dumme Befehle wie die "HiddenDatabase" benutzen wir nicht!'
elseif msg_text:match("^[Pp][Ii][Nn][Gg]$") then
output = 'Pong'
elseif msg_text:match("^[Dd][Aa][Ss] [Ii][Ss][Tt]? [Nn][Ii][Cc][Hh][Tt]? [Ll][Uu][Ss][Tt][Ii][Gg]!?$") then
output = 'Aber Funny!'
end
utilities.send_reply(msg, output)