This repository has been archived on 2021-04-24. You can view files and clone it, but cannot push or open issues or pull requests.
Mikubot/plugins/special.lua

97 lines
4.1 KiB
Lua
Raw Normal View History

2015-06-16 21:42:51 +02:00
-- Dirty code is dirty code, but idc
-- later: yolo, aha.png, baka_bot, barusamikosu, frosch, moepse
function run(msg, matches)
2015-07-21 16:13:35 +02:00
local user_name = get_name(msg)
2015-06-16 21:42:51 +02:00
if string.match(msg.text, "^[R|r][I|i][C|c][H|h] [B|b][I|i][T|t][C|c][H|h]$") then
return 'Akamaru ist nicht reich!'
elseif string.match(msg.text, "^#[O|o][L|l][D|d]$") then
return 'Deine Mudda is old!'
elseif string.match(msg.text, "^[N|n][Y|y][U|u]$") then
send_photo(get_receiver(msg), "pictures/nyu.jpg", ok_cb, false)
elseif string.match(msg.text, "^[N|n][O|o][P|p][E|e].[A|a][V|v][I|i]$") then
send_video(get_receiver(msg), "videos/nope.avi", ok_cb, false)
return 'Video wird gesendet...'
elseif string.match(msg.text, "^[N|n][I|i][I|i][S|s][A|a][N|n]$") or string.match(msg.text, "^[N|n][I|i][I|i](-)[S|s][A|a][N|n]$") or string.match(msg.text, "^[N|n][I|i][S|s][S|s][A|a][N|n]$") then
send_photo(get_receiver(msg), "pictures/Nii-san.jpg", ok_cb, false)
elseif string.match(msg.text, "^/[N|n][E|e][O|o][R|r][A|a][M|m][E|e]$") then
send_photo(get_receiver(msg), "pictures/neorame.jpg", ok_cb, false)
elseif string.match(msg.text, "^/[N|n][A|a][U|u]$") then
send_photo(get_receiver(msg), "pictures/nau.jpg", ok_cb, false)
2015-07-02 21:43:24 +02:00
elseif string.match(msg.text, "^/[F|f][T|t][T|t]$") then
return [[(°°) FLIP THAT TABLE.
(°°) FLIP THIS TABLE.
(`0`)/ FLIP ALL THE TABLES
_ಠ Child. . .
_ಠ Put.
__ಠ The tables.
___ಠ Back.
(°-°)
(°°) NEVER]]
2015-07-23 20:31:45 +02:00
elseif string.match(msg.text, "^/[F|f][T|t][F|f]$") then
return [[() FLIP THAT FATHER.
() FLIP THIS FATHER.
()/ FLIP ALL THE FATHERS
Child. . .
Put.
The Fathers.
Back.
()_ಠ
() NEVER]]
2015-07-07 18:27:15 +02:00
elseif string.match(msg.text, "^/[N|n][B|b][C|c]$") or string.match(msg.text, "^/[I|i][D|d][C|c]$") then
return [[¯\_(ツ)_/¯]]
elseif string.match(msg.text, "^/[L|l][F|f]$") then
2015-07-26 23:02:36 +02:00
return '( ͡° ͜ʖ ͡°)'
elseif string.match(msg.text, "^/[L|l][O|o][D|d]$") then
return 'ಠ_ಠ'
2015-07-21 16:13:35 +02:00
elseif string.match(msg.text, "^möp$") then
return 'se'
elseif string.match(msg.text, "^/[F|f][R|r][O|o][S|s][C|c][H|h]$") then
return '🐸🐸🐸'
elseif string.match(msg.text, "^/barusamiko$") or string.match(msg.text, "^/barusamikosu$") or string.match(msg.text, "^/Balsamiko Essig$") then
send_photo(get_receiver(msg), "pictures/luckystar/barusamikosu.jpg", ok_cb, false)
elseif string.match(msg.text, "^[B|b][A|a][K|k][A|a] [B|b][O|o][T|t]$") then
return "Gomen'nasai "..user_name.."-sempai 😣"
elseif string.match(msg.text, "^[A|a][H|h][A|a].[P|p][N|n][G|g]$") then
send_photo(get_receiver(msg), "pictures/aha.png", ok_cb, false)
2015-07-28 13:44:01 +02:00
elseif string.match(msg.text, "^~?[P|p][O||o][I|i]$") then
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-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 = {""},
patterns = {"^[R|r][I|i][C|c][H|h] [B|b][I|i][T|t][C|c][H|h]$",
"^#[O|o][L|l][D|d]$",
"^[N|n][Y|y][U|u]$",
"^[N|n][O|o][P|p][E|e].[A|a][V|v][I|i]$",
"^[N|n][I|i][I|i][S|s][A|a][N|n]$",
"^[N|n][I|i][I|i](-)[S|s][A|a][N|n]$",
"^[N|n][I|i][S|s][S|s][A|a][N|n]$",
"^/[N|n][E|e][O|o][R|r][A|a][M|m][E|e]$",
2015-07-02 21:43:24 +02:00
"^/[N|n][A|a][U|u]$",
"^/[F|f][T|t][T|t]$",
2015-07-23 20:31:45 +02:00
"^/[F|f][T|t][F|f]$",
"^/[N|n][B|b][C|c]$",
"^/[I|i][D|d][C|c]$",
"^/[L|l][F|f]$",
2015-07-21 16:13:35 +02:00
"^/[L|l][O|o][D|d]$",
"^möp$",
"^/[F|f][R|r][O|o][S|s][C|c][H|h]$",
"^/barusamiko$",
"^/barusamikosu$",
"^/Balsamiko Essig$",
"^[B|b][A|a][K|k][A|a] [B|b][O|o][T|t]$",
2015-07-28 13:44:01 +02:00
"^[A|a][H|h][A|a].[P|p][N|n][G|g]$",
2015-08-02 22:05:46 +02:00
"^~?[P|p][O||o][I|i]$",
2015-08-02 22:12:22 +02:00
"^/[Tt][Hh][Yy][Mm][Ee]$",
"^[Yy][Oo][Ll][Oo]$"
2015-06-16 21:42:51 +02:00
},
run = run
}
--by Akamaru [https://ponywave.de]