Last edit: @simpleurbanart in <!error getting other user for DAP2PQZJ5> 10 months ago - Slack Archive

{lua}
local who = string.format("\60@%s\62", user.id)

local linkTable = {
'https://i.kym-cdn.com/photos/images/newsfeed/000/527/159/15d.gif',
'https://i.kym-cdn.com/photos/images/newsfeed/001/037/556/eb3.gif'
}

local messageTable = {
'Sauce?',
'Pass the sauce.'
}

local index = math.random(1, #linkTable)
local link = linkTable[index]
local message = messageTable[index]

print('<' .. link .. '|' .. message .. '>\n')

History

{lua}
local who = string.format("\60@%s\62", user.id)

local linkTable = {
'https://i.kym-cdn.com/photos/images/newsfeed/000/527/159/15d.gif',
'https://i.kym-cdn.com/photos/images/newsfeed/001/037/556/eb3.gif'
}

local messageTable = {
'Sauce?',
'Pass the sauce.'
}

local index = math.random(1, #linkTable)
local link = linkTable[index]
local message = messageTable[index]

print('<' .. link .. '|' .. message .. '>\n')
{lua}
local who = string.format("\60@%s\62", user.id)

local linkTable = {
'https://i.kym-cdn.com/photos/images/newsfeed/000/527/159/15d.gif'
}

local messageTable = {
'Sauce?'
}

local index = math.random(1, #linkTable)
local link = linkTable[index]
local message = messageTable[index]

print('<' .. link .. '|' .. message .. '>\n')

Revision: 4121 (deleted) by @simpleurbanart in <!error getting other user for DAP2PQZJ5> 10 months agoSlack Archive

{lua}
local who = string.format("\60@%s\62", user.id)

local linkTable = {
'https://i.kym-cdn.com/photos/images/newsfeed/000/527/159/15d.gif'
}

local messageTable = {
'Sauce?'
}

local index = math.random(1, #linkTable)
local link = linkTable[index]
local message = messageTable[index]

print('<' .. link .. '|' .. message .. '>\n')
{lua}
local who = string.format("\60@%s\62", user.id)

local linkTable = {
'https://i.kym-cdn.com/photos/images/newsfeed/000/527/159/15d.gif'
}

local messageTable = {
'Sauce?'
}

local index = math.random(1, #linkTable)
local link = linkTable[index]
local message = messageTable[index]

print('<' .. link .. '|' .. message .. '.>\n')
https://img-comment-fun.9cache.com/media/aejbGAm/a2KrokXP_700wa_0.gif