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

48 lines
2.0 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)
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]]
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-06-16 21:42:51 +02:00
},
run = run
}
--by Akamaru [https://ponywave.de]