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.
2016-06-09 21:29:23 +02:00
|
|
|
local function run(msg, matches)
|
|
|
|
local receiver = get_receiver(msg)
|
|
|
|
local url = 'http://z0r.de/L/z0r-de_'..matches[1]..'.swf'
|
|
|
|
print("Flash URL: "..url)
|
|
|
|
send_document_from_url(receiver, url)
|
|
|
|
if string.match(msg.text, '/[Zz]0[Rr]') then
|
|
|
|
return 'Source: http://z0r.de/'..matches[1]
|
|
|
|
else
|
|
|
|
return
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
|
|
|
return {
|
|
|
|
description = "Sendet Flashs von Z0R.de",
|
2016-06-22 13:59:06 +02:00
|
|
|
usage = {"z0r.de URL","#z0r [ID]"},
|
|
|
|
patterns = {"https?://z0r.de/([%w-_%.%?%.:,/%+=&#!]+)$","^#[Zz]0[Rr] (.*)$"},
|
2016-06-09 21:29:23 +02:00
|
|
|
run = run
|
|
|
|
}
|
|
|
|
--by Akamaru [https://ponywave.de]
|