This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
module("modules/imgcache/imgcache") | |
function get_image(url) | |
local socket = require("socket") | |
-- get host and path | |
local socketurl = require("socket.url") | |
local parsedurl = socketurl.parse(url) | |
local host = parsedurl.host |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
["components"] = { | |
["Block_render_5"] = { | |
["output_type"] = "texture", | |
["type"] = "geometry", | |
["connections_in"] = { | |
[1] = { | |
["input"] = 1, | |
["block"] = "Block_aux_1", | |
["type"] = "vec3constant", |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[{"blockName" : "Block_aux_1", | |
"blockType" : "AuxComp", | |
"blockData" : {"auxType" : "script", | |
"src" : "return 100.0, 0.0, 0.0" | |
}, | |
"blockOutput" : [{"name" : "output1", | |
"type" : "vec3"}] | |
},{"blockName" : "Block_aux_2", | |
"blockType" : "AuxComp", | |
"blockData" : {"auxType" : "script", |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
["components"] = { | |
["Block_render_5"] = { | |
["modelfilepath"] = "", | |
["type"] = "geometry", | |
["connections_in"] = { | |
[1] = { | |
["input"] = 1, | |
["block"] = "Block_aux_1", | |
["type"] = "vec3constant", |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
module("modules/xb/xb") | |
function parse_message(bot, msg) | |
local i,j,chan,n = string.find(msg, ":.-!.- PRIVMSG (.-) ::xb (.+)") | |
if not (i == nil) then | |
local http = require("socket.http") | |
local b, c, h = http.request("http://profile.mygamercard.net/" .. tostring(n)) | |
if not (b == nil) then |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
module("modules/wp/wp") | |
function parse_message(bot, msg) | |
local i,j,sender,chan,q = string.find(msg, ":(.-)!.- PRIVMSG (.-) :" .. bot.config.triggerprefix .. "wp (.+)") | |
if not (i == nil) then | |
if not (string.sub(chan, 1, 1) == "#") then | |
chan = sender | |
end | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Afrikaans -> af | |
Albanian -> sq | |
Arabic -> ar | |
Armenian -> hy | |
Azerbaijani -> az | |
Basque -> eu | |
Belarusian -> be | |
Bulgarian -> bg | |
Catalan -> ca | |
Chinese (Simplified) -> zh-CN |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
module("modules/tr/tr") | |
function parse_message(bot, msg) | |
local i,j,sender,chan,q = string.find(msg, ":(.-)!.- PRIVMSG (.-) :" .. tostring(bot.config.triggerprefix) .. "tr(.*)") | |
if not (i == nil) then | |
if not (string.sub(chan, 1, 1) == "#") then | |
chan = sender | |
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
module("modules/title/title") | |
function parse_message(bot, msg) | |
local i,j,chan,s = string.find(msg, ":.-!.- PRIVMSG (.-) :(.+)") | |
if not (i == nil) then | |
function get_title(url, block_hosts, loop_control) | |
if (loop_control <= 0) then | |
return nil |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
module("modules/define/define") | |
function parse_message(bot, msg) | |
local i,j,sender,chan,q = string.find(msg, ":(.-)!.- PRIVMSG (.-) :" .. tostring(bot.config.triggerprefix) .. "define (.+)") | |
if not (i == nil) then | |
if not (string.sub(chan, 1, 1) == "#") then | |
chan = sender | |
end |