<<Prev Next>> Scroll to Bottom
Stuff goes here
L1[07:59:32] ⇦ Quits: MichiBot (MichiBot!~MichiBot@149.56.6.196) ()
L2[07:59:58] ⇨ Joins: MichiBot (MichiBot!~MichiBot@eos.pc-logix.com)
L3[07:59:59] Spock sets mode: +o on MichiBot
L4[08:02:58] ⇦ Quits: MichiBot (MichiBot!~MichiBot@eos.pc-logix.com) (Client Quit)
L5[08:03:20] ⇨ Joins: MichiBot (MichiBot!~MichiBot@149.56.6.196)
L6[08:03:20] Spock sets mode: +o on MichiBot
L7[14:38:11] <Ocawesome101> %lua for k,v in pairs(_ENV) do print(k, v) end
L8[14:38:12] <MichiBot> Message too long to send to channel https://paste.pc-logix.com/furasibepo
L9[14:40:57] <Saghetti> %lua _ENV={}
L10[14:41:23] <Saghetti> %lua print(5)
L11[14:41:24] <MichiBot> 5
L12[14:48:06] <Ocawesome101> %lua print=nil
L13[14:48:11] <Ocawesome101> %lua print(5)
L14[14:48:12] <MichiBot> main:1: attempt to call global 'print' (a nil value)
L15[14:48:14] <Ocawesome101> :D
L16[14:48:26] <Ocawesome101> %lua io.write("test")
L17[14:48:26] <MichiBot> main:1: attempt to call field 'write' (a nil value)
L18[14:48:43] <Ocawesome101> %lua io.output():write("test")
L19[14:48:44] <MichiBot> main:1: attempt to call field 'output' (a nil value)
L20[14:48:56] <Ocawesome101> %lua for k,v in pairs(io) do print(k)
L21[14:48:56] <MichiBot> main:1: 'end' expected near <eof>
L22[14:49:03] <Ocawesome101> %lua for k,v in pairs(io) do print(k) end
L23[14:49:18] <Ocawesome101> %resetlua
L24[14:49:18] <MichiBot> Sandbox reset
L25[14:49:27] <Ocawesome101> %lua for k,v in pairs(io) do print(k) end
L26[14:54:07] <Saghetti> %lua for k, v in pairs(ENV) do ENV[k] = nil end
L27[14:54:07] <MichiBot> main:1: unexpected symbol near char(29)
L28[14:55:03] <Saghetti> %lua for k, v in pairs(ENV) do ENV[k] = nil end
L29[14:55:03] <MichiBot> main:1: unexpected symbol near char(29)
L30[14:55:07] <Saghetti> hmm
L31[14:55:28] <DaComputerNerd> Doesnt let you use _ENV i guess
L32[14:55:35] <DaComputerNerd> Limits it
L33[14:55:44] <Saghetti> it uses lua 5.2 tho
L34[14:56:09] <Saghetti> %lua print(_VERSION)
L35[14:56:09] <MichiBot> Lua 5.2
L36[14:56:27] <Forecaster> %lua "Soup"
L37[14:56:28] <MichiBot> Soup
L38[14:56:33] <Saghetti> %lua print(tostring(_ENV))
L39[14:56:33] <MichiBot> table: 0x7fa7c00130f0
L40[14:56:35] <Forecaster> fyi you don't need print
L41[14:56:37] <Forecaster> :P
L42[14:56:40] <Saghetti> ok
L43[15:02:02] <Michiyo> %resetlua
L44[15:02:03] <MichiBot> Sandbox reset
L45[17:13:31] <DaComputerNerd> %lua for k,v in pairs(_G) print(k,v) end
L46[17:13:32] <MichiBot> main:1: 'do' expected near 'print'
L47[17:13:38] <DaComputerNerd> Whoops
L48[17:14:18] <DaComputerNerd> %lua for k,v in pairs(_G) do print(k,v) end
L49[17:14:18] <MichiBot> main:1: bad argument #1 to 'pairs' (table expected, got nil)
L50[17:21:15] <Saghetti> @DaComputerNerd michibot uses Lua 5.2, so it needs to be _ENV
L51[17:31:54] <DaComputerNerd> ahh
<<Prev Next>> Scroll to Top