2015-09-10 15:11:10 +02:00
|
|
|
|
-- Dirty code is dirty code, but idc
|
2015-08-17 02:31:15 +02:00
|
|
|
|
|
|
|
|
|
require "socket"
|
|
|
|
|
|
|
|
|
|
function sleep(sec)
|
|
|
|
|
socket.select(nil, nil, sec)
|
|
|
|
|
end
|
|
|
|
|
|
2015-06-16 21:42:51 +02:00
|
|
|
|
function run(msg, matches)
|
2015-07-21 16:13:35 +02:00
|
|
|
|
local user_name = get_name(msg)
|
|
|
|
|
|
2015-09-10 15:11:10 +02:00
|
|
|
|
if string.match(msg.text, "^[Rr][Ii][Cc][Hh] [Bb][Ii][Tt][Cc][Hh]$") then
|
2015-06-16 21:42:51 +02:00
|
|
|
|
return 'Akamaru ist nicht reich!'
|
2015-09-10 15:11:10 +02:00
|
|
|
|
elseif string.match(msg.text, "^#[Oo][Ll][Dd]$") then
|
2015-06-16 21:42:51 +02:00
|
|
|
|
return 'Deine Mudda is old!'
|
2015-09-10 15:11:10 +02:00
|
|
|
|
elseif string.match(msg.text, "^[Nn][Yy][Uu]$") then
|
2015-06-16 21:42:51 +02:00
|
|
|
|
send_photo(get_receiver(msg), "pictures/nyu.jpg", ok_cb, false)
|
2015-09-10 15:11:10 +02:00
|
|
|
|
elseif string.match(msg.text, "^[Nn][Oo][Pp][Ee].[Aa][Vv][Ii]$") then
|
2015-06-16 21:42:51 +02:00
|
|
|
|
send_video(get_receiver(msg), "videos/nope.avi", ok_cb, false)
|
|
|
|
|
return 'Video wird gesendet...'
|
2015-09-10 15:11:10 +02:00
|
|
|
|
elseif string.match(msg.text, "^[Nn][Ii][Ii][Ss][Aa][Nn]$") or string.match(msg.text, "^[Nn][Ii][Ii](-)[Ss][Aa][Nn]$") or string.match(msg.text, "^[Nn][Ii][Ss][Ss][Aa][Nn]$") then
|
2015-06-16 21:42:51 +02:00
|
|
|
|
send_photo(get_receiver(msg), "pictures/Nii-san.jpg", ok_cb, false)
|
2015-09-10 15:11:10 +02:00
|
|
|
|
elseif string.match(msg.text, "^/[Nn][Ee][Oo][Rr][Aa][Mm][Ee]$") then
|
2015-06-16 21:42:51 +02:00
|
|
|
|
send_photo(get_receiver(msg), "pictures/neorame.jpg", ok_cb, false)
|
2015-09-10 15:11:10 +02:00
|
|
|
|
elseif string.match(msg.text, "^/[Nn][Aa][Uu]$") then
|
2015-06-16 21:42:51 +02:00
|
|
|
|
send_photo(get_receiver(msg), "pictures/nau.jpg", ok_cb, false)
|
2015-09-10 15:11:10 +02:00
|
|
|
|
elseif string.match(msg.text, "^/[Ff][Tt][Tt]$") then
|
2015-07-02 21:43:24 +02:00
|
|
|
|
return [[(╯°□°)╯︵ ┻━┻ FLIP THAT TABLE.
|
|
|
|
|
┻━┻ ︵ ヽ(°□°ヽ) FLIP THIS TABLE.
|
|
|
|
|
┻━┻ ︵ \(`0`)/ ︵ ┻━┻ FLIP ALL THE TABLES
|
|
|
|
|
ಠ_ಠ Child. . .
|
|
|
|
|
ಠ_ಠ Put.
|
|
|
|
|
ಠ__ಠ The tables.
|
|
|
|
|
ಠ___ಠ Back.
|
|
|
|
|
(╮°-°)╮┳━┳
|
|
|
|
|
(╯°□°)╯︵ ┻━┻ NEVER]]
|
2015-09-10 15:11:10 +02:00
|
|
|
|
elseif string.match(msg.text, "^/[Ff][Tt][Ff]$") then
|
2015-07-23 20:31:45 +02:00
|
|
|
|
return [[(╯┳┳)╯︵ ಠ‾ಠ FLIP THAT FATHER.
|
|
|
|
|
ಠ‾ಠ ︵ ヽ(┳┳ヽ) FLIP THIS FATHER.
|
|
|
|
|
ಠ‾ಠ ︵ \(┳┳)/ ︵ ಠ‾ಠ FLIP ALL THE FATHERS
|
|
|
|
|
┳━┳ Child. . .
|
|
|
|
|
┳━┳ Put.
|
|
|
|
|
┳━━┳ The Fathers.
|
|
|
|
|
┳━━━┳ Back.
|
|
|
|
|
(╮┳┳)╮ಠ_ಠ
|
|
|
|
|
(╯┳┳)╯︵ ಠ‾ಠ NEVER]]
|
2015-09-10 15:11:10 +02:00
|
|
|
|
elseif string.match(msg.text, "^/[Nn][Bb][Cc]$") or string.match(msg.text, "^/[Ii][Dd][Cc]$") then
|
2015-07-03 14:48:01 +02:00
|
|
|
|
return [[¯\_(ツ)_/¯]]
|
2015-09-10 15:11:10 +02:00
|
|
|
|
elseif string.match(msg.text, "^/[Ll][Ff]$") then
|
2015-07-26 23:02:36 +02:00
|
|
|
|
return '( ͡° ͜ʖ ͡°)'
|
2015-09-10 15:11:10 +02:00
|
|
|
|
elseif string.match(msg.text, "^/[Ll][Oo][Dd]$") then
|
2015-07-03 14:48:01 +02:00
|
|
|
|
return 'ಠ_ಠ'
|
2015-09-10 15:11:10 +02:00
|
|
|
|
elseif string.match(msg.text, "^[Mm]ö[Pp]$") or string.match(msg.text, "^[Mm][Ee][Ee][Pp]$") then
|
2015-07-21 16:13:35 +02:00
|
|
|
|
return 'se'
|
2015-09-10 15:11:10 +02:00
|
|
|
|
elseif string.match(msg.text, "^/[Ff][Rr][Oo][Ss][Cc][Hh]$") then
|
2015-07-21 16:13:35 +02:00
|
|
|
|
return '🐸🐸🐸'
|
2015-09-10 15:11:10 +02:00
|
|
|
|
elseif string.match(msg.text, "^/[Bb][Aa][Rr][Uu][Ss][Aa][Mm][Ii][Kk][Oo][Ss][Uu]$") or string.match(msg.text, "^/[Bb][Aa][Ll][Ss][Aa][Mm][Ii][Kk][Oo] [Ee][Ss][Ss][Ii][Gg]$") then
|
2015-07-21 16:13:35 +02:00
|
|
|
|
send_photo(get_receiver(msg), "pictures/luckystar/barusamikosu.jpg", ok_cb, false)
|
2015-09-10 15:11:10 +02:00
|
|
|
|
elseif string.match(msg.text, "^[Bb][Aa][Kk][Aa] [Bb][Oo][Tt]$") then
|
2015-07-21 16:13:35 +02:00
|
|
|
|
return "Gomen'nasai "..user_name.."-sempai 😣"
|
2015-09-10 15:11:10 +02:00
|
|
|
|
elseif string.match(msg.text, "^[Aa][Hh][Aa].[Pp][Nn][Gg]$") then
|
2015-07-21 16:13:35 +02:00
|
|
|
|
send_photo(get_receiver(msg), "pictures/aha.png", ok_cb, false)
|
2015-09-10 15:11:10 +02:00
|
|
|
|
elseif string.match(msg.text, "^~?[Pp][Oo][Ii]$") then
|
2015-07-28 13:44:01 +02:00
|
|
|
|
send_photo(get_receiver(msg), "pictures/poi.jpg", ok_cb, false)
|
2015-08-02 22:05:46 +02:00
|
|
|
|
elseif string.match(msg.text, "^/[Tt][Hh][Yy][Mm][Ee]$") then
|
|
|
|
|
send_photo(get_receiver(msg), "pictures/thyme.jpg", ok_cb, false)
|
2015-08-02 22:12:22 +02:00
|
|
|
|
elseif string.match(msg.text, "^[Yy][Oo][Ll][Oo]$") then
|
|
|
|
|
return 'Hä YOLO?'
|
2015-08-10 15:17:35 +02:00
|
|
|
|
elseif string.match(msg.text, "^/[Kk][Aa][Pp][Pp][Aa]$") then
|
|
|
|
|
return [[⠀⠀⠀⠀⣀⣀⣬⣥⣽⣿⣧⣤⢀⠀⠀⠀
|
|
|
|
|
⠀⠀⠀⠂⢯⣧⣿⣿⣿⣿⣿⣿⣿⣿⣷⠀
|
|
|
|
|
⠀⢨⣽⣾⣿⣿⣿⣿⡿⠛⠃⠉⠛⣿⣿⠀
|
|
|
|
|
⠀⠘⣿⣿⣿⡟⠁⠁⠀⠀⠀⠀⠨⣟⢿⠀
|
|
|
|
|
⠀⠀⠩⢿⠀⠀⠶⠾⢿⡿⠉⠿⣿⡿⢟⠀
|
|
|
|
|
⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⣀⣀⣩⣦⣾⠀
|
|
|
|
|
⠀⠀⠀⠀⠀⠀⠀⠀⠠⡦⣺⣿⡿⣹⡏⠀
|
|
|
|
|
⠀⠀⠀⠀⠀⠀⠻⠅⢄⡀⢈⣻⠟⠀⠀⠀]]
|
2015-08-17 02:31:15 +02:00
|
|
|
|
elseif string.match(msg.text, "[Ii] [Ww][Ii][Ss][Hh] [Ss][Qq][Uu][Ii][Dd][Ss] [Ww][Ee][Rr][Ee] [Rr][Ee][Aa][Ll]") then
|
|
|
|
|
send_photo(get_receiver(msg), "pictures/squid.jpg", ok_cb, false)
|
|
|
|
|
--sleep(2)
|
|
|
|
|
return 'They are'
|
2015-09-10 15:11:10 +02:00
|
|
|
|
elseif string.match(msg.text, "[Ff][Gg][Tt]") then
|
2015-09-11 17:35:19 +02:00
|
|
|
|
return --'Deine Mudda is fgt!'
|
2015-07-02 21:43:24 +02:00
|
|
|
|
end
|
2015-06-16 21:42:51 +02:00
|
|
|
|
end
|
|
|
|
|
|
|
|
|
|
return {
|
2015-07-02 21:43:24 +02:00
|
|
|
|
description = "Ein Plugin mit nutzlosen Befehlen",
|
2015-06-16 21:42:51 +02:00
|
|
|
|
usage = {""},
|
2015-09-10 15:11:10 +02:00
|
|
|
|
patterns = {"^[Rr][Ii][Cc][Hh] [Bb][Ii][Tt][Cc][Hh]$",
|
|
|
|
|
"^#[Oo][Ll][Dd]$",
|
|
|
|
|
"^[Nn][Yy][Uu]$",
|
|
|
|
|
"^[Nn][Oo][Pp][Ee].[Aa][Vv][Ii]$",
|
|
|
|
|
"^[Nn][Ii][Ii][Ss][Aa][Nn]$",
|
|
|
|
|
"^[Nn][Ii][Ii](-)[Ss][Aa][Nn]$",
|
|
|
|
|
"^[Nn][Ii][Ss][Ss][Aa][Nn]$",
|
|
|
|
|
"^/[Nn][Ee][Oo][Rr][Aa][Mm][Ee]$",
|
|
|
|
|
"^/[Nn][Aa][Uu]$",
|
|
|
|
|
"^/[Ff][Tt][Tt]$",
|
|
|
|
|
"^/[Ff][Tt][Ff]$",
|
|
|
|
|
"^/[Nn][Bb][Cc]$",
|
|
|
|
|
"^/[Ii][Dd][Cc]$",
|
|
|
|
|
"^/[Ll][Ff]$",
|
|
|
|
|
"^/[Ll][Oo][Dd]$",
|
|
|
|
|
"^[Mm]ö[Pp]$",
|
|
|
|
|
"^[Mm][Ee][Ee][Pp]$",
|
|
|
|
|
"^/[Ff][Rr][Oo][Ss][Cc][Hh]$",
|
|
|
|
|
"^/[Bb][Aa][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