@anonymous/

WatchfulMealyGnat

Lua

No description

fork
loading
Files
  • main.lua

This Plugin Crashed!

Error: Error: must not create an existing file {"type":"CREATE_FILE","wid":"0.32654743265931097","path":"main.lua","file":{"path":"main.lua","content":{"asEncoding":{"base64":"bG9jYWwgdGV4dCA9ICdUaGlzIGlzIGhvdyB0byB1c2UgK25hbWVkICt2YXJpYWJsZXMuIEl0IHNpbXBseSAraWdub3JlcyB0aGUgdW5zZXQgK3ZhcmlhYmxlcy4nCgpsb2NhbCBwYXJzZWQgPSB0ZXh0OmdzdWIoJytbYS16XSsnLCB7CiAgWycrbmFtZWQnXSA9ICdhJywKICBbJyt2YXJpYWJsZXMnXSA9ICdkdWNrJwp9KQoKcHJpbnQodGV4dC4uJ1xuXG4nLi5wYXJzZWQp"},"asBuffer":null},"loaded":true}}
1
2
3
4
5
6
7
8
local text = 'This is how to use +named +variables. It simply +ignores the unset +variables.'

local parsed = text:gsub('+[a-z]+', {
  ['+named'] = 'a',
  ['+variables'] = 'duck'
})

print(text..'\n\n'..parsed)