Das ist nicht lustig!
Aber Funny!
This commit is contained in:
parent
2ebf439b9f
commit
73d48b3c75
@ -31,7 +31,8 @@ special.triggers = {
|
|||||||
"^/%)$",
|
"^/%)$",
|
||||||
"^%(\\$",
|
"^%(\\$",
|
||||||
"^/[Ss][Cc][Hh][Ee][Ll][Ll][Ee]$",
|
"^/[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!'
|
output = 'So dumme Befehle wie die "HiddenDatabase" benutzen wir nicht!'
|
||||||
elseif msg_text:match("^[Pp][Ii][Nn][Gg]$") then
|
elseif msg_text:match("^[Pp][Ii][Nn][Gg]$") then
|
||||||
output = 'Pong'
|
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
|
end
|
||||||
|
|
||||||
utilities.send_reply(msg, output)
|
utilities.send_reply(msg, output)
|
||||||
|
Reference in New Issue
Block a user