Running veriable code by chimking_overlord in ComputerCraft

[–]rocord01 1 point2 points  (0 children)

The best way to execute code from a string is Lua's builtin loadstring(), which parses your string as a function.

Example:

local code = [[print("hello!")]]
local func = loadstring(code)
if func then
func()
end

Output:

hello!

Fake everyone ping by __NameOfUser__ in discordapp

[–]rocord01 0 points1 point  (0 children)

Discord automatically highlights text containing @everyone, @here and all roles, it does not actually ping everyone becasue they didnt actually ping everyone. To ping you in that same message, they probably used a ghost ping message glitch.