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ee]$ " ,
2016-08-25 01:18:26 +02:00
" ^/[Tt][Hh][Yy][Mm][Ee]$ " ,
" ^[Yy][Oo][Ll][Oo]$ " ,
2016-12-15 19:24:08 +01:00
" ^[Ii] [Ww][Ii][Ss][Hh] [Ss][Qq][Uu][Ii][Dd][Ss] [Ww][Ee][Rr][Ee] [Rr][Ee][Aa][Ll]$ " ,
2016-08-25 01:18:26 +02:00
" ^/[Kk][Ii][Ll][Ll] (.*) " ,
" ^[Pp][Ee]$ " ,
" ^[Vv][Aa]$ " ,
" ^[Mm][Uu]$ " ,
2016-08-29 21:01:07 +02:00
" ^/[Ii][Yy][Kk][Ww][Ii][Mm]$ " ,
" ^/%)$ " ,
2016-09-05 16:20:22 +02:00
" ^%( \\ $ " ,
" ^/[Ss][Cc][Hh][Ee][Ll][Ll][Ee]$ " ,
2016-09-05 23:28:55 +02:00
" ^[Pp][Ii][Nn][Gg]$ " ,
2016-12-12 13:31:19 +01:00
" ^[Dd][Aa][Ss] [Ii][Ss][Tt]? [Nn][Ii][Cc][Hh][Tt]? [Ll][Uu][Ss][Tt][Ii][Gg]!?$ " ,
2017-02-15 16:49:23 +01:00
" /[Bb][Ll][Uu][Ee][Tt][Ee][Xx][Tt] " ,
" /[Ll][Mm][Gg][Tt][Ff][Yy] (.*) "
2016-08-29 21:01:07 +02:00
2016-08-25 01:18:26 +02:00
}
function special : action ( msg , config , matches )
2016-08-25 23:17:46 +02:00
local user_name = get_name ( msg )
2016-08-25 01:18:26 +02:00
local msg_text = msg.text
local output
if msg_text : match ( " [Rr][Ii][Cc][Hh] [Bb][Ii][Tt][Cc][Hh] " ) then
output = ' Akamaru ist nicht reich! '
2016-11-13 22:40:24 +01:00
elseif msg_text : match ( " [Mm]ö[Dd][Cc][Hh][Ee][Nn] " ) or msg_text : match ( " [Mm]Ö[Dd][Cc][Hh][Ee][Nn] " ) then
output = ' Es heißt MÄDCHEN! '
2016-08-25 23:17:46 +02:00
elseif string.match ( msg.text , " [Mm][Ii][Kk][Uu]%?? " ) then
2016-09-05 16:20:22 +02:00
local alive_answers = { ' Ja? ' , ' Was gibts, ' .. user_name .. ' ? ' , ' Ja ' .. user_name .. ' , was ist? ' , ' Ich bin noch da. ' , user_name , ' Nein! ' , ' So heiße ich ' , ' Nerv mich nicht! ' , ' Was. ' }
local random_alive = math.random ( 9 )
2016-08-25 23:17:46 +02:00
output = alive_answers [ random_alive ]
2016-08-25 01:18:26 +02:00
elseif msg_text : match ( " /[Oo][Ll][Dd] " ) then
output = ' Deine Mudda is old! '
elseif msg_text : match ( " [Nn][Yy][Uu] " ) then
2016-11-29 18:14:26 +01:00
utilities.send_photo ( msg.chat . id , ' http://img.ponywave.de/di/JSXH/nyu.jpg ' , nil , msg.message_id )
2016-08-25 01:18:26 +02:00
return
elseif msg_text : match ( " [Nn][Ii][Ii][Ss][Aa][Nn] " ) or msg_text : match ( " [Nn][Ii][Ii](-)[Ss][Aa][Nn] " ) or msg_text : match ( " [Nn][Ii][Ss][Ss][Aa][Nn] " ) then
2016-11-29 18:14:26 +01:00
utilities.send_photo ( msg.chat . id , ' http://img.ponywave.de/di/XB2T/Nii-san.jpg ' , nil , msg.message_id )
2016-08-25 01:18:26 +02:00
return
elseif msg_text : match ( " /[Nn][Ee][Oo][Rr][Aa][Mm][Ee] " ) then
2016-11-29 18:14:26 +01:00
utilities.send_photo ( msg.chat . id , ' http://img.ponywave.de/di/GM93/neorame.jpg ' , nil , msg.message_id )
2016-08-25 01:18:26 +02:00
return
elseif msg_text : match ( " [Ff][Tt][Tt] " ) then
output = [ [ ( ╯ ° □ ° ) ╯ ︵ ┻ ━ ┻ FLIP THAT TABLE .
┻ ━ ┻ ︵ ヽ ( ° □ ° ヽ ) FLIP THIS TABLE .
┻ ━ ┻ ︵ \ ( ` 0 ` ) / ︵ ┻ ━ ┻ FLIP ALL THE TABLES
ಠ _ಠ Child . . .
ಠ _ಠ Put .
ಠ __ಠ The tables .
ಠ ___ಠ Back .
( ╮ ° - ° ) ╮ ┳ ━ ┳
( ╯ ° □ ° ) ╯ ︵ ┻ ━ ┻ NEVER ] ]
elseif msg_text : match ( " [Ff][Tt][Ff] " ) then
output = [ [ ( ╯ ┳ ┳ ) ╯ ︵ ಠ ‾ ಠ FLIP THAT FATHER .
ಠ ‾ ಠ ︵ ヽ ( ┳ ┳ ヽ ) FLIP THIS FATHER .
ಠ ‾ ಠ ︵ \ ( ┳ ┳ ) / ︵ ಠ ‾ ಠ FLIP ALL THE FATHERS
┳ ━ ┳ Child . . .
┳ ━ ┳ Put .
┳ ━ ━ ┳ The Fathers .
┳ ━ ━ ━ ┳ Back .
( ╮ ┳ ┳ ) ╮ ಠ _ಠ
( ╯ ┳ ┳ ) ╯ ︵ ಠ ‾ ಠ NEVER ] ]
2016-09-15 15:26:05 +02:00
elseif msg_text : match ( " ^[Mm]ö[Pp]?$ " ) or msg_text : match ( " [Mm][Ee][Ee][Pp] " ) then
2016-08-25 01:18:26 +02:00
output = ' se '
elseif msg_text : match ( " [Bb][Aa][Rr][Uu][Ss][Aa][Mm][Ii][Kk][Oo][Ss][Uu] " ) or msg_text : match ( " [Bb][Aa][Ll][Ss][Aa][Mm][Ii][Kk][Oo] [Ee][Ss][Ss][Ii][Gg] " ) then
2016-11-29 18:14:26 +01:00
utilities.send_photo ( msg.chat . id , ' http://img.ponywave.de/di/0SEY/barusamikosu.jpg ' , nil , msg.message_id )
2016-08-25 01:18:26 +02:00
return
elseif msg_text : match ( " [Bb][Aa][Kk][Aa] [Bb][Oo][Tt] " ) then
2016-08-25 23:17:46 +02:00
output = ' Gomen \' nasai ' .. msg.from . first_name .. ' -senpai 😣 '
2016-08-25 01:18:26 +02:00
elseif msg_text : match ( " [Aa][Hh][Aa].[Pp][Nn][Gg] " ) then
2016-11-29 18:14:26 +01:00
utilities.send_photo ( msg.chat . id , ' http://img.ponywave.de/di/W97R/aha.png ' , nil , msg.message_id )
2016-08-25 01:18:26 +02:00
return
elseif msg_text : match ( " [Pp][Oo][Ii] " ) then
2016-11-29 18:14:26 +01:00
utilities.send_document ( msg.chat . id , ' http://code.ponywave.de/workspace/test/fuck/poi.webp ' , nil , msg.message_id )
return
elseif msg_text : match ( " [Yy][Oo][Ss][Hh][Ii] [Dd][Aa][Nn][Cc][Ee] [Gg][Ll][Ii][Tt][Cc][Hh] " ) then
utilities.send_video ( msg.chat . id , ' http://code.ponywave.de/workspace/test/fuck/YOSHI_DANCE_GLITCH.mp4 ' , nil , msg.message_id )
return
elseif msg_text : match ( " [Yy][Oo][Ss][Hh][Ii] [Dd][Aa][Nn][Cc][Ee] " ) then
utilities.send_video ( msg.chat . id , ' http://code.ponywave.de/workspace/test/fuck/YOSHI_DANCE.mp4 ' , ' YOSHI DANCE! ' , msg.message_id )
return
2017-03-08 21:44:03 +01:00
elseif msg_text : match ( " [Nn][Oo][Pp][Ee].[Aa][Vv][Ii] " ) then
utilities.send_video ( msg.chat . id , ' http://code.ponywave.de/workspace/test/fuck/nope.mp4 ' , nil , msg.message_id )
return
elseif msg_text : match ( " [Ss][Uu][Gg][Oo][Ii] [Dd][Ee][Ss][Uu] [Nn][Ee] " ) then
utilities.send_video ( msg.chat . id , ' http://code.ponywave.de/workspace/test/fuck/sugoidesune.mp4 ' , ' eeeeee!? \n SUGOI DESU NE? ' , msg.message_id )
return
2016-11-29 18:14:26 +01:00
elseif msg_text : match ( " [Nn][Aa][Nn][Oo] [Hh][Aa][Kk][Aa][Ss][Ee] " ) then
utilities.send_video ( msg.chat . id , ' http://code.ponywave.de/workspace/test/fuck/nano-hakase-1.mp4 ' , ' NANO! NANO! NANO! NANO! NANO! NANO! \n HAKASE! HAKASE! HAKASE! HAKASE! HAKASE! HAKASE! ' , msg.message_id )
2016-08-25 01:18:26 +02:00
return
elseif msg_text : match ( " /[Tt][Hh][Yy][Mm][Ee] " ) then
2016-11-29 18:14:26 +01:00
utilities.send_photo ( msg.chat . id , ' http://img.ponywave.de/di/N6NO/thyme.jpg ' , ' What thyme is it? ' , msg.message_id )
2016-08-25 01:18:26 +02:00
return
elseif msg_text : match ( " [Yy][Oo][Ll][Oo] " ) then
output = ' Hä YOLO? '
elseif msg_text : match ( " [Ii] [Ww][Ii][Ss][Hh] [Ss][Qq][Uu][Ii][Dd][Ss] [Ww][Ee][Rr][Ee] [Rr][Ee][Aa][Ll] " ) then
2016-11-29 18:14:26 +01:00
utilities.send_photo ( msg.chat . id , ' http://img.ponywave.de/di/N03B/squid.jpg ' , ' They are ' , msg.message_id )
2016-08-25 01:18:26 +02:00
return
elseif msg_text : match ( " [Kk][Ii][Ll][Ll] " ) then
2016-08-26 17:42:31 +02:00
output = user_name .. ' tötet ' .. matches [ 1 ]
2016-08-25 01:18:26 +02:00
elseif msg_text : match ( " [Pp][Ee] " ) then
output = ' nis '
elseif msg_text : match ( " [Vv][Aa] " ) then
output = ' gina '
elseif msg_text : match ( " [Mm][Uu] " ) then
output = ' schi '
elseif msg_text : match ( " /[Ii][Yy][Kk][Ww][Ii][Mm] " ) then
output = ' (¬‿¬) '
2016-08-29 21:01:07 +02:00
elseif msg_text : match ( " /%) " ) then
output = ' ( \\ '
elseif msg_text : match ( " %( \\ " ) then
output = ' /) '
2016-09-05 16:20:22 +02:00
elseif msg_text : match ( " ^/[Ss][Cc][Hh][Ee][Ll][Ll][Ee]$ " ) then
output = ' So dumme Befehle wie die "HiddenDatabase" benutzen wir nicht! '
elseif msg_text : match ( " ^[Pp][Ii][Nn][Gg]$ " ) then
output = ' Pong '
2016-09-05 23:28:55 +02:00
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! '
2016-12-12 13:31:19 +01:00
elseif msg_text : match ( " /[Bb][Ll][Uu][Ee][Tt][Ee][Xx][Tt] " ) then
output = [ [ BLUE TEXT
MUST CLICK
I AM A STUPID ANIMAL THAT IS ATTRACTED TO COLORS ] ]
2017-02-15 16:49:23 +01:00
elseif msg_text : match ( " /[Ll][Mm][Gg][Tt][Ff][Yy] " ) then
utilities.send_reply ( msg , ' <a href="https://lmgtfy.com/?q= ' .. URL.escape ( matches [ 1 ] ) .. ' ">Deine Antwort findest du hier.</a> ;) ' , ' HTML ' )
2016-08-25 01:18:26 +02:00
end
utilities.send_reply ( msg , output )
end
return special