Last edit: @sgardner in <!error getting other user for D3CP17MBP> 4 months ago - Slack Archive

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

local messageTable = {
', this factoid is only available through messaging me directly.',
':42bounce: Click here for documentation on how to get set up with the dorm/lab Wi-Fi.',
'>*Note*:\n>For this to work, you need to use your Intra credentials.\n>To reset your password, see `!resetpw`.',
'Alternatively, a student video on connecting to :42:\'s Wi-Fi on Windows 10.'
}

local linkTable = {
'https://i.imgur.com/2uq6iC4.png',
'https://meta.intra.42.fr/articles/42-s-wi-fi-connection',
'https://youtu.be/4EMx7Cu_YBA'
}

if (args == 'public') then
   print('<' .. linkTable[2] .. '|' .. messageTable[2] .. '>\n')
   print(messageTable[3] .. '\n')
   print('<' .. linkTable[3] .. '|' .. messageTable[4] .. '>\n')
elseif (channel.type ~= "im") then
   print(who .. messageTable[1] .. '\n' )
else
   print('<' .. linkTable[2] .. '|' .. messageTable[2] .. '>\n')
   print(messageTable[3] .. '\n')
   print('<' .. linkTable[3] .. '|' .. messageTable[4] .. '>\n')
end

History

Revision: 5018 by @sgardner in <!error getting other user for D3CP17MBP> 4 months agoSlack Archive

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

local messageTable = {
', this factoid is only available through messaging me directly.',
':42bounce: Click here for documentation on how to get set up with the dorm/lab Wi-Fi.',
'>*Note*:\n>For this to work, you need to use your Intra credentials.\n>To reset your password, see `!resetpw`.',
'Alternatively, a student video on connecting to :42:\'s Wi-Fi on Windows 10.'
}

local linkTable = {
'https://i.imgur.com/2uq6iC4.png',
'https://meta.intra.42.fr/articles/42-s-wi-fi-connection',
'https://youtu.be/4EMx7Cu_YBA'
}

if (args == 'public') then
   print('<' .. linkTable[2] .. '|' .. messageTable[2] .. '>\n')
   print(messageTable[3] .. '\n')
   print('<' .. linkTable[3] .. '|' .. messageTable[4] .. '>\n')
elseif (channel.type ~= "im") then
   print(who .. messageTable[1] .. '\n' )
else
   print('<' .. linkTable[2] .. '|' .. messageTable[2] .. '>\n')
   print(messageTable[3] .. '\n')
   print('<' .. linkTable[3] .. '|' .. messageTable[4] .. '>\n')
end

Revision: 5017 by @sgardner in <!error getting other user for D3CP17MBP> 4 months agoSlack Archive

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

local messageTable = {
', this factoid is only available through messaging me directly.',
':42bounce: Click here for documentation on how to get set up with the dorm/lab Wi-Fi.',
'>*Note*:\n>For this to work, you need to use your Intra credentials.\n>To reset your password, see `!resetpw`.',
'Alternatively, a student video on connecting to :42:\'s Wi-Fi on Windows 10.'
}

local linkTable = {
'https://i.imgur.com/2uq6iC4.png',
'https://meta.intra.42.fr/articles/42-s-wi-fi-connection',
'https://youtu.be/4EMx7Cu_YBA'
}

if (args == 'public') then
   print('<' .. linkTable[2] .. '|' .. messageTable[2] .. '>\n')
   print(messageTable[3] .. '\n')
   print('<' .. linkTable[3] .. '|' .. messageTable[4] .. '>\n')
elseif (channel.type ~= "im") then
   print(who .. '<' .. messageTable[1] .. '>\n' )
else
   print('<' .. linkTable[2] .. '|' .. messageTable[2] .. '>\n')
   print(messageTable[3] .. '\n')
   print('<' .. linkTable[3] .. '|' .. messageTable[4] .. '>\n')
end

Revision: 4852 by @kmira in #[IM @kmira] 7 months agoSlack Archive

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

local messageTable = {
', this factoid is only available through messaging me directly.',
':42bounce: Click here for documentation on how to get set up with the dorm/lab Wi-Fi.',
'>*Note*:\n>For this to work, you need to use your Intra credentials.\n>To reset your password, see `!resetpw`.',
'Alternatively, a student video on connecting to :42:\'s Wi-Fi on Windows 10.'
}

local linkTable = {
'https://i.imgur.com/2uq6iC4.png',
'https://meta.intra.42.fr/articles/42-s-wi-fi-connection',
'https://youtu.be/4EMx7Cu_YBA'
}

if (args == 'public') then
   print('<' .. linkTable[2] .. '|' .. messageTable[2] .. '>\n')
   print(messageTable[3] .. '\n')
   print('<' .. linkTable[3] .. '|' .. messageTable[4] .. '>\n')
elseif (channel.type ~= "im") then
   print(who .. '<' .. linkTable[1] .. '|' .. messageTable[1] .. '>\n' )
else
   print('<' .. linkTable[2] .. '|' .. messageTable[2] .. '>\n')
   print(messageTable[3] .. '\n')
   print('<' .. linkTable[3] .. '|' .. messageTable[4] .. '>\n')
end

Revision: 4851 by @kmira in #[IM @kmira] 7 months agoSlack Archive

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

local messageTable = {
', this factoid is only available through messaging me directly.',
':42bounce: Click here for documentation on how to get set up with the dorm/lab Wi-Fi.',
'>*Note*:\n>For this to work, you need to use your Intra credentials.\n>To reset your password, see `!resetpw`.',
'Alternatively, a student video on connecting to :42:\'s Wi-Fi on Windows 10.'
}

local linkTable = {
'https://i.imgur.com/2uq6iC4.png',
'https://meta.intra.42.fr/articles/42-s-wi-fi-connection',
'https://youtu.be/4EMx7Cu_YBA'
}

elseif (channel.type ~= "im") then
   print(who .. '<' .. linkTable[1] .. '|' .. messageTable[1] .. '>\n' )
else
   print('<' .. linkTable[2] .. '|' .. messageTable[2] .. '>\n')
   print(messageTable[3] .. '\n')
   print('<' .. linkTable[3] .. '|' .. messageTable[4] .. '>\n')
end
{lua}
local who = string.format("\60@%s\62", user.id)

local messageTable = {
', this factoid is only available through messaging me directly.',
':42bounce: Click here for documentation on how to get set up with the dorm/lab Wi-Fi.',
'>*Note*:\n>For this to work, you need to use your Intra credentials.\n>To reset your password, see `!resetpw`.',
'Alternatively, a student video on connecting to :42:\'s Wi-Fi on Windows 10.'
}

local linkTable = {
'https://i.imgur.com/2uq6iC4.png',
'https://meta.intra.42.fr/articles/42-s-wi-fi-connection',
'https://youtu.be/4EMx7Cu_YBA'
}

if (channel.type ~= "im") then
   print(who .. '<' .. linkTable[1] .. '|' .. messageTable[1] .. '>\n' )
else
   print('<' .. linkTable[2] .. '|' .. messageTable[2] .. '>\n')
   print(messageTable[3] .. '\n')
   print('<' .. linkTable[3] .. '|' .. messageTable[4] .. '>\n')
end
{lua}
local who = string.format("\60@%s\62", user.id)

local messageTable = {
', this factoid is only available through messaging me directly.',
':42bounce: Click here for documentation on how to get set up with the dorm/lab Wi-Fi.',
'>*Note*:\n>For this to work, you need to use your Intra credentials.\n>To reset your password, see `!resetpw`.',
'Alternatively, a student video on connecting to :42:\'s Wi-Fi on Windows 10.'
}

local linkTable = {
'https://i.imgur.com/2uq6iC4.png',
'https://meta.intra.42.fr/articles/42-s-wi-fi-connection',
'https://youtu.be/4EMx7Cu_YBA'
}

if (channel.type ~= "im" or user.id == 'UA74M7VPF') then
   print(who .. '<' .. linkTable[1] .. '|' .. messageTable[1] .. '>\n' )
else
   print('<' .. linkTable[2] .. '|' .. messageTable[2] .. '>\n')
   print(messageTable[3] .. '\n')
   print('<' .. linkTable[3] .. '|' .. messageTable[4] .. '>\n')
end
{lua}
local who = string.format("\60@%s\62", user.id)

local messageTable = {
', this factoid is only available through messaging me directly.',
':42bounce: Click here for documentation on how to get set up with the dorm/lab Wi-Fi.',
'>*Note*:\n>For this to work, you need to use your Intra credentials.\n>To reset your password, see `!resetpw`.',
'Alternatively, a student video on connecting to :42:\'s Wi-Fi on Windows 10.'
}

local linkTable = {
'https://i.imgur.com/2uq6iC4.png',
'https://meta.intra.42.fr/articles/42-s-wi-fi-connection',
'https://youtu.be/4EMx7Cu_YBA'
}

if (channel.type ~= "im" or user.id == 'UA74M7VPF') then
   print(who .. ', <' .. linkTable[1] .. '|' .. messageTable[1] .. '>\n' )
else
   print('<' .. linkTable[2] .. '|' .. messageTable[2] .. '>\n')
   print(messageTable[3] .. '\n')
   print('<' .. linkTable[3] .. '|' .. messageTable[4] .. '>\n')
end
{lua}
local who = string.format("\60@%s\62", user.id)

local messageTable = {
', this factoid is only available through messaging me directly.',
':42bounce: Click here for documentation on how to get set up with the dorm/lab Wi-Fi.',
'>*Note*:\n>For this to work, you need to use your Intra credentials.\n>To reset your password, see `!resetpw`.',
'Alternatively, a student video on connecting to :42:\'s Wi-Fi on Windows 10.'
}

local linkTable = {
'https://i.imgur.com/2uq6iC4.png',
'https://meta.intra.42.fr/articles/42-s-wi-fi-connection',
'https://youtu.be/4EMx7Cu_YBA'
}

if (channel.type ~= "im" or user.id == 'UA74M7VPF') then
   print(who .. '<' .. messageTable[1] .. '|' .. linkTable[1] .. '>\n' )
else
   print('<' .. linkTable[2] .. '|' .. messageTable[2] .. '>\n')
   print(messageTable[3] .. '\n')
   print('<' .. linkTable[3] .. '|' .. messageTable[4] .. '>\n')
end
{lua}
local who = string.format("\60@%s\62", user.id)

local messageTable = {
', this factoid is only available through messaging me directly.',
':42bounce: Click here for documentation on how to get set up with the dorm/lab Wi-Fi.',
'>*Note*:\n>For this to work, you need to use your Intra credentials.\n>To reset your password, see `!resetpw`.',
'Alternatively, a student video on connecting to :42:\'s Wi-Fi on Windows 10.'
}

local linkTable = {
'https://i.imgur.com/2uq6iC4.png',
'https://meta.intra.42.fr/articles/42-s-wi-fi-connection',
'https://youtu.be/4EMx7Cu_YBA'
}

if (channel.type ~= "im" or user.id == 'UA74M7VPF') then
   print(who .. '<' .. messageTable[1] .. '|' .. linkTable[1] .. '>\n' )
else
   print('<' .. linkTable[2] .. '|' .. messageTable[2] .. '>\n')
   print(messageTable[3] .. '\n')
   print('<' .. linkTable[3] .. '|' .. messageTable[4] .. '>\n')
end
{lua}
local who = string.format("\60@%s\62", user.id)

local messageTable = {
', this factoid is only available through messaging me directly.',
':42bounce: Click here for documentation on how to get set up with the dorm/lab Wi-Fi.',
'>*Note*:\n>For this to work, you need to use your Intra credentials.\n>To reset your password, see `!resetpw`.',
'Alternatively, a student video on connecting to :42:\'s Wi-Fi on Windows 10.'
}

local linkTable = {
'https://i.imgur.com/2uq6iC4.png',
'https://meta.intra.42.fr/articles/42-s-wi-fi-connection',
'https://youtu.be/4EMx7Cu_YBA'
}

if (channel.type ~= "im" or user.id == 'UA74M7VPF') then
   print(who .. '<' .. messageTable[1] .. '|' .. linkTable[1] )
else
   print('<' .. linkTable[2] .. '|' .. messageTable[2] .. '>\n')
   print(messageTable[3] .. '\n')
   print('<' .. linkTable[3] .. '|' .. messageTable[4] .. '>\n')
end
{lua}
local who = string.format("\60@%s\62", user.id)

local messageTable = {
', this factoid is only available through messaging me directly.',
':42bounce: Click here for documentation on how to get set up with the dorm/lab Wi-Fi.',
'>*Note*:\n>For this to work, you need to use your Intra credentials.\n>To reset your password, see `!resetpw`.',
'Alternatively, a student video on connecting to :42:\'s Wi-Fi on Windows 10.'
}

local linkTable = {
'https://i.imgur.com/2uq6iC4.png',
'https://meta.intra.42.fr/articles/42-s-wi-fi-connection',
'https://youtu.be/4EMx7Cu_YBA'
}

if (channel.type ~= "im" or user.id == 'UA74M7VPF') then
   print(who .. '<' .. linkTable[1] .. '|' .. messageTable[1] )
else
   print('<' .. linkTable[2] .. '|' .. messageTable[2] .. '>\n')
   print(messageTable[3] .. '\n')
   print('<' .. linkTable[3] .. '|' .. messageTable[4] .. '>\n')
end
{lua}
local messageTable = {
':42bounce: Click here for documentation on how to get set up with the dorm/lab Wi-Fi.',
'>*Note*:\n>For this to work, you need to use your Intra credentials.\n>To reset your password, see `!resetpw`.',
'Alternatively, a student video on connecting to :42:\'s Wi-Fi on Windows 10.'
}

local linkTable = {
'https://meta.intra.42.fr/articles/42-s-wi-fi-connection',
'https://youtu.be/4EMx7Cu_YBA',
'https://i.imgur.com/2uq6iC4.png'
}

if (channel.type ~= "im" or user.id == 'UA74M7VPF') then
   print('<' .. linkTable[3] .. '|' .. string.format("\60@%s\62, this factoid is only available through messaging me directly.", user.id) .. '>\n')
else
   print('<' .. linkTable[1] .. '|' .. messageTable[1] .. '>\n')
   print(messageTable[2] .. '\n')
   print('<' .. linkTable[2] .. '|' .. messageTable[3] .. '>\n')
end

Revision: 4794 by @kmira in #[IM @kmira] 7 months agoSlack Archive

{lua}
local messageTable = {
':42bounce: Click here for documentation on how to get set up with the dorm/lab Wi-Fi.',
'>*Note*:\n>For this to work, you need to use your Intra credentials.\n>To reset your password, see `!resetpw`.',
'Alternatively, a student video on connecting to :42:\'s Wi-Fi on Windows 10.'
}

local linkTable = {
'https://meta.intra.42.fr/articles/42-s-wi-fi-connection',
'https://youtu.be/4EMx7Cu_YBA'
}

if (args == 'public') then
    print('<' .. linkTable[1] .. '|' .. messageTable[1] .. '>\n')
    print(messageTable[2] .. '\n')
    print('<' .. linkTable[2] .. '|' .. messageTable[3] .. '>\n')
elseif (channel.type ~= "im") then
    print(string.format("\60@%s\62, this factoid is only available through messaging me directly.", user.id))
else
    print('<' .. linkTable[1] .. '|' .. messageTable[1] .. '>\n')
    print(messageTable[2] .. '\n')
    print('<' .. linkTable[2] .. '|' .. messageTable[3] .. '>\n')
end

Revision: 4793 by @kmira in #[IM @kmira] 7 months agoSlack Archive

{lua}
local messageTable = {
':42bounce: Click here for documentation on how to get set up with the dorm/lab Wi-Fi.',
'>*Note*:\n>For this to work, you need to use your Intra credentials.\n>To reset your password, see `!resetpw`.',
'Alternatively, a student video on connecting to :42:\'s Wi-Fi on Windows 10.'
}

local linkTable = {
'https://meta.intra.42.fr/articles/42-s-wi-fi-connection',
'https://youtu.be/4EMx7Cu_YBA'
}

if (args == public) then    print('<' .. linkTable[1] .. '|' .. messageTable[1] .. '>\n')
    print(messageTable[2] .. '\n')
    print('<' .. linkTable[2] .. '|' .. messageTable[3] .. '>\n')
elseif (channel.type ~= "im") then
    print(string.format("\60@%s\62, this factoid is only available through messaging me directly.", user.id))
else
    print('<' .. linkTable[1] .. '|' .. messageTable[1] .. '>\n')
    print(messageTable[2] .. '\n')
    print('<' .. linkTable[2] .. '|' .. messageTable[3] .. '>\n')
end

Revision: 4792 by @kmira in #[IM @kmira] 7 months agoSlack Archive

{lua}
local messageTable = {
':42bounce: Click here for documentation on how to get set up with the dorm/lab Wi-Fi.',
'>*Note*:\n>For this to work, you need to use your Intra credentials.\n>To reset your password, see `!resetpw`.',
'Alternatively, a student video on connecting to :42:\'s Wi-Fi on Windows 10.'
}

local linkTable = {
'https://meta.intra.42.fr/articles/42-s-wi-fi-connection',
'https://youtu.be/4EMx7Cu_YBA'
}

if (args == "public") then
    print('<' .. linkTable[1] .. '|' .. messageTable[1] .. '>\n')
    print(messageTable[2] .. '\n')
    print('<' .. linkTable[2] .. '|' .. messageTable[3] .. '>\n')
elseif (channel.type ~= "im") then
    print(string.format("\60@%s\62, this factoid is only available through messaging me directly.", user.id))
else
    print('<' .. linkTable[1] .. '|' .. messageTable[1] .. '>\n')
    print(messageTable[2] .. '\n')
    print('<' .. linkTable[2] .. '|' .. messageTable[3] .. '>\n')
end

Revision: 4791 by @kmira in #[IM @kmira] 7 months agoSlack Archive

{lua}
local messageTable = {
':42bounce: Click here for documentation on how to get set up with the dorm/lab Wi-Fi.',
'>*Note*:\n>For this to work, you need to use your Intra credentials.\n>To reset your password, see `!resetpw`.',
'Alternatively, a student video on connecting to :42:\'s Wi-Fi on Windows 10.'
}

local linkTable = {
'https://meta.intra.42.fr/articles/42-s-wi-fi-connection',
'https://youtu.be/4EMx7Cu_YBA'
}

if (args == public) then
    print('<' .. linkTable[1] .. '|' .. messageTable[1] .. '>\n')
    print(messageTable[2] .. '\n')
    print('<' .. linkTable[2] .. '|' .. messageTable[3] .. '>\n')
elseif (channel.type ~= "im") then
    print(string.format("\60@%s\62, this factoid is only available through messaging me directly.", user.id))
else
    print('<' .. linkTable[1] .. '|' .. messageTable[1] .. '>\n')
    print(messageTable[2] .. '\n')
    print('<' .. linkTable[2] .. '|' .. messageTable[3] .. '>\n')
end
{lua}
local messageTable = {
':42bounce: Click here for documentation on how to get set up with the dorm/lab Wi-Fi.',
'>*Note*:\n>For this to work, you need to use your Intra credentials.\n>To reset your password, see `!resetpw`.',
'Alternatively, a student video on connecting to :42:\'s Wi-Fi on Windows 10.'
}

local linkTable = {
'https://meta.intra.42.fr/articles/42-s-wi-fi-connection',
'https://youtu.be/4EMx7Cu_YBA'
}

if (channel.type ~= "im") then
    print(string.format("\60@%s\62, this factoid is only available through messaging me directly.", user.id))
else
    print('<' .. linkTable[1] .. '|' .. messageTable[1] .. '>\n')
    print(messageTable[2] .. '\n')
    print('<' .. linkTable[2] .. '|' .. messageTable[3] .. '>\n')
end

Revision: 4770 by @kmira in #[IM @kmira] 7 months agoSlack Archive

{lua}
if args == "public" then
    return "Follow the instructions here to get set up with the dorm/lab wi-fi. https://meta.intra.42.fr/articles/42-s-wi-fi-connection \n*Note:* for this you need to use your unique wifi password, or use your intra password after resetting it (see !resetpw || On the login page of intra.42.fr, look for 'Forgot your password?' in order to reset it. This is assuming you have not unsubscribed from Intra emails and that Intra emails can reach you properly).\n \n How to connect to 42's Wi-Fi as Student with a Windows 10 PC https://youtu.be/4EMx7Cu_YBA" end
if (channel.type == "public") then
    print(string.format("\60@%s\62, this factoid is only available through messaging me directly.", user.id))
else
    print('Follow the instructions here to get set up with the dorm/lab wi-fi. https://meta.intra.42.fr/articles/42-s-wi-fi-connection \n*Note:* for this you need to use your unique wifi password, or use your intra password after resetting it (see !resetpw || On the login page of intra.42.fr, look for "Forgot your password?" in order to reset it. This is assuming you have not unsubscribed from Intra emails and that Intra emails can reach you properly).\n \n How to connect to 42\'s Wi-Fi as Student with a Windows 10 PC https://youtu.be/4EMx7Cu_YBA')
end

Revision: 4769 by @kmira in #[IM @kmira] 7 months agoSlack Archive

Revision: 4764 by @kmira in #[IM @kmira] 7 months agoSlack Archive

{lua}
if args == "public" then
    return "Follow the instructions here to get set up with the dorm/lab wi-fi. https://meta.intra.42.fr/articles/42-s-wi-fi-connection \n*Note:* for this you need to use your unique wifi password, or use your intra password after resetting it (see !resetpw || On the login page of intra.42.fr, look for 'Forgot your password?' in order to reset it. This is assuming you have not unsubscribed from Intra emails and that Intra emails can reach you properly).\n \n How to connect to 42's Wi-Fi as Student with a Windows 10 PC https://youtu.be/4EMx7Cu_YBA" end
if channel.type == "public" then return ":facepalm:" end return "Follow the instructions here to get set up with the dorm/lab wi-fi. https://meta.intra.42.fr/articles/42-s-wi-fi-connection \n*Note:* for this you need to use your unique wifi password, or use your intra password after resetting it (see !resetpw || On the login page of intra.42.fr, look for 'Forgot your password?' in order to reset it. This is assuming you have not unsubscribed from Intra emails and that Intra emails can reach you properly).\n \n How to connect to 42's Wi-Fi as Student with a Windows 10 PC https://youtu.be/4EMx7Cu_YBA"

Revision: 3517 by @meo in <!error getting other user for D3TBKKTBQ> 1 year agoSlack Archive

Follow the instructions here to get set up with the dorm/lab wi-fi. https://meta.intra.42.fr/articles/42-s-wi-fi-connection 
*Note:* for this you need to use your unique wifi password, or use your intra password after resetting it (see !resetpw || On the login page of intra.42.fr, look for "Forgot your password?" in order to reset it. This is assuming you have not unsubscribed from Intra emails and that Intra emails can reach you properly).

How to connect to 42's Wi-Fi as Student with a Windows 10 PC https://youtu.be/4EMx7Cu_YBA 

Revision: 872 by @crenfrow in #[IM @crenfrow] 2 years agoSlack Archive

Follow the instructions here to get set up with the dorm/lab wi-fi. https://meta.intra.42.fr/articles/42-s-wi-fi-connection 
*Note:* for this you need to use your unique wifi password, or use your intra password after resetting it (see !resetpw).

Revision: 869 by @crenfrow in #[IM @crenfrow] 2 years agoSlack Archive

Follow the instructions here to get set up with the dorm/lab wi-fi 
*Note:* for this you need to use your unique wifi password, or use your intra password _after resetting it_ (see !resetpw). https://meta.intra.42.fr/articles/42-s-wi-fi-connection

Revision: 867 by @crenfrow in #[IM @crenfrow] 2 years agoSlack Archive

&1

Revision: 156 by @crenfrow in #[IM @crenfrow] 2 years agoSlack Archive

Follow the instructions here to get set up with the dorm/lab wi-fi (note, for this you need to use your unique wifi password *not* your intra password) https://meta.intra.42.fr/articles/42-s-wi-fi-connection

Revision: 155 by @crenfrow in #nostromo_dorms-old 2 years agoSlack Archive

Follow the instructions here to get set up with the dorm/lab wi-fi (note, for this you need to use your unique wifi password *not* your inta password) https://meta.intra.42.fr/articles/42-s-wi-fi-connection

Revision: 85 (deleted) by @kyork in #cadets-old 2 years agoSlack Archive

x todo update this

Revision: 22 (deleted) by @kyork in <!error getting other user for D2XTZTJ22> 2 years agoSlack Archive

See https://42schoolusa.slack.com/archives/cadets/p1478035747006216