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.
2015-04-17 16:29:30 +02:00
|
|
|
local function run(msg, matches)
|
2015-05-28 16:47:30 +02:00
|
|
|
local text = matches[1]
|
|
|
|
local b = 1
|
|
|
|
|
|
|
|
while b ~= 0 do
|
|
|
|
text,b = text:gsub('^/+','')
|
|
|
|
text = text:trim()
|
|
|
|
end
|
|
|
|
return text
|
2014-11-04 16:09:08 +01:00
|
|
|
end
|
|
|
|
|
|
|
|
return {
|
2015-04-14 20:21:23 +02:00
|
|
|
description = "Wiederholt euch",
|
2016-06-22 13:59:06 +02:00
|
|
|
usage = {"#echo [Satz]"},
|
|
|
|
patterns = {"^#[Ee][Cc][Hh][Oo] (.*)$"},
|
2015-03-31 20:17:14 +02:00
|
|
|
run = run
|
2014-11-04 16:09:08 +01:00
|
|
|
}
|