2015-04-23 17:31:04 +02:00
|
|
|
function run(msg, matches)
|
|
|
|
randomValue = math.random(5)
|
|
|
|
if randomValue == 1 then
|
|
|
|
send_photo(get_receiver(msg), "pictures/hdf/hdf1.jpg", ok_cb, false)
|
2015-04-23 17:42:34 +02:00
|
|
|
-- Source https://www.facebook.com/391509267542910/photos/a.391509814209522.110655.391509267542910/391509824209521/?type=1&theater
|
2015-04-23 17:31:04 +02:00
|
|
|
elseif randomValue == 2 then
|
|
|
|
send_photo(get_receiver(msg), "pictures/hdf/hdf2.jpg", ok_cb, false)
|
2015-04-23 17:42:34 +02:00
|
|
|
-- Source http://echtlustig.com/312/einfach-mal-die-kresse-halten
|
2015-04-23 17:31:04 +02:00
|
|
|
elseif randomValue == 3 then
|
|
|
|
send_photo(get_receiver(msg), "pictures/hdf/hdf3.jpg", ok_cb, false)
|
2015-04-23 17:42:34 +02:00
|
|
|
-- Source http://blog.todamax.net/2012/lieber-unbekannter-spon-kommentator/
|
2015-04-23 17:31:04 +02:00
|
|
|
elseif randomValue == 4 then
|
|
|
|
send_photo(get_receiver(msg), "pictures/hdf/hdf4.jpg", ok_cb, false)
|
2015-04-23 17:42:34 +02:00
|
|
|
-- Source http://www.ariva.de/forum/Inside-Gigaset-AG-ehem-ARQUES-AG-424727?page=94#jumppos2373
|
2015-04-23 17:31:04 +02:00
|
|
|
elseif randomValue == 5 then
|
|
|
|
send_photo(get_receiver(msg), "pictures/hdf/hdf5.jpg", ok_cb, false)
|
2015-04-23 17:42:34 +02:00
|
|
|
-- Source http://www.lachschon.de/item/114904-Einfachmal/
|
2015-04-23 17:31:04 +02:00
|
|
|
end
|
|
|
|
end
|
|
|
|
|
|
|
|
return {
|
2015-04-28 17:49:11 +02:00
|
|
|
description = "Einfach mal die Fresse halten!",
|
|
|
|
usage = {"/hdf"},
|
2015-06-17 22:24:05 +02:00
|
|
|
patterns = {"^/[H|h][D|d][F|f]$"},
|
2015-04-23 17:31:04 +02:00
|
|
|
run = run
|
|
|
|
}
|
2015-05-22 17:01:33 +02:00
|
|
|
--by Akamaru [https://ponywave.de]
|