<<Prev Next>> Scroll to Bottom
Stuff goes here
L1[00:14:10] *** Guest9741 is now known as payonel
L2[01:07:27] ⇦ Quits: payonel (payonel!~payonel@2607:5300:203:51d5::bad:c0de) (Ping timeout: 204 seconds)
L3[04:50:12] ⇦ Quits: Amanda (Amanda!~quassel@c-73-165-85-199.hsd1.pa.comcast.net) (Ping timeout: 189 seconds)
L4[04:50:43] ⇨ Joins: Amanda (Amanda!~quassel@c-73-165-85-199.hsd1.pa.comcast.net)
L5[07:36:38] ⇨ Joins: payonel (payonel!~payonel@2607:5300:203:51d5::bad:c0de)
L6[07:37:05] *** payonel is now known as Guest97393
L7[07:37:10] ⇨ Joins: Michiyo (Michiyo!~Michiyo@znc.michiyo.me)
L8[07:37:11] Spock sets mode: +o on Michiyo
L9[09:02:04] ⇨ Joins: holinesss (holinesss!~rymate123@mail.unimed.com.py)
L10[16:14:15] <Saghetti> %inv add http.sys
L11[16:14:15] * MichiBot summons 'http.sys' and adds to her inventory. This seems very sturdy.
L12[17:15:16] <Ocawesome101> %lua string.weird("test")
L13[17:15:16] <MichiBot> main:1: attempt to call field 'weird' (a nil value)
L14[17:15:21] <Ocawesome101> :(
L15[17:15:41] <Ocawesome101> %lua string.replacers = {a = "e", e = "i", i = "o", o = "u", u = "a"} function string.wonk(s) local r = "" for c in s:gmatch(".") do r=r..(string.replacers[c]or c) end return r end function string.weird(s) local r = "" for i=1, #s, 1 do if i % 2 == 0 then r = r .. s:sub(i,i):upper() else r = r .. s:sub(i,i):lower() end end return r end function string.wonkweird(s) return string.weird(string.wonk(s)) end string.weirdwonk = strin
L16[17:16:13] <Ocawesome101> %lua string.weird("string.replacers = {a = "e", e = "i", i = "o", o = "u", u = "a"} function string.wonk(s) local r = "" for c in s:gmatch(".") do r=r..(string.replacers[c]or c) end return r end function string.weird(s) local r = "" for i=1, #s, 1 do if i % 2 == 0 then r = r .. s:sub(i,i):upper() else r = r .. s:sub(i,i):lower() end end return r end function string.wonkweird(s) return string.weird(string.wonk(s)) end string.wei
L17[17:16:13] <Ocawesome101> string.wonkweird
L18[17:16:13] <Ocawesome101> ")
L19[17:16:13] <MichiBot> main:1: ')' expected near 'e'
L20[17:16:23] <Ocawesome101> :/
L21[17:16:27] <Ocawesome101> it got split didn't it
L22[17:16:58] ⇨ Joins: Ocawesome101 (Ocawesome101!~ocawesome@38.65.248.207)
L23[17:17:21] <Ocawesome101> %lua string.wonkweird("string.replacers = {a = "e", e = "i", i = "o", o = "u", u = "a"} function string.wonk(s) local r = "" for c in s:gmatch(".") do r=r..(string.replacers[c]or c) end return r end function string.weird(s) local r = "" for i=1, #s, 1 do if i % 2 == 0 then r = r .. s:sub(i,i):upper() else r = r .. s:sub(i,i):lower() end end return r end function string.wonkweird(s) return string.weird(string.wonk(s)) end string.weirdwonk = string.
L24[17:17:21] <MichiBot> main:1: ')' expected near 'e'
L25[17:17:22] <Ocawesome101> wonkweird")
L26[17:17:26] <Ocawesome101> ah
L27[17:17:27] <Ocawesome101> yep
L28[17:17:29] <Ocawesome101> got split
L29[17:17:47] <Ocawesome101> %lua string.wonkweird("string.replacers = {a = "e", e = "i", i = "o", o = "u", u = "a"} function string.wonk(s) local r = "" for c in s:gmatch(".") do r=r..(string.replacers[c]or c) end return r end function string.weird(s) local r = "" for i=1, #s, 1 do if i % 2 == 0 then r = r .. s:sub(i,i):upper() else r = r .. s:sub(i,i):lower() end end return r end function string.wonkweird(s) return string.weird(string.wonk(s)) end")
L30[17:17:47] <MichiBot> main:1: ')' expected near 'e'
L31[17:17:56] <Ocawesome101> oh, right
L32[17:17:57] <Ocawesome101> dangit
L33[17:18:33] <Ocawesome101> %lua string.wonkweird("line splitting is my worst nightmare")
L34[17:18:34] <MichiBot> lOnI SpLoTtOnG Os mY WuRsT NoGhTmErI
L35[17:18:43] <Ocawesome101> oh god that's.... wow
L36[18:08:04] ⇦ Quits: Ocawesome101 (Ocawesome101!~ocawesome@38.65.248.207) (Ping timeout: 190 seconds)
L37[18:51:29] *** Guest97393 is now known as payonel
L38[19:02:49] ⇦ Quits: payonel (payonel!~payonel@2607:5300:203:51d5::bad:c0de) (Quit: ZNC Provided by Michiyo)
L39[19:03:06] ⇨ Joins: payonel (payonel!~payonel@2607:5300:203:51d5::bad:c0de)
L40[20:05:27] <ThePiGuy24> %lua string.weird("test")
L41[20:05:28] <MichiBot> tEsT
L42[20:05:39] <ThePiGuy24> %lua string.weird("TeSt")
L43[20:05:39] <MichiBot> tEsT
L44[20:05:44] <ThePiGuy24> aww
L45[20:09:03] <Saghetti> string.wonk("ocawesome? more like opossum")
L46[20:09:14] <Saghetti> %lua string.wonk("ocawesome? more like opossum")
L47[20:09:15] <MichiBot> ucewisumi? muri loki upussam
L48[20:16:18] ⇨ Joins: Ocawesome101 (Ocawesome101!~ocawesome@38.65.248.207)
L49[20:21:06] <ThePiGuy24> its a cursed language
L50[20:25:19] <Ocawesome101> %lua string.weird("saghetti? more like spaghetti")
L51[20:25:19] <MichiBot> sAgHeTtI? mOrE LiKe sPaGhEtTi
L52[20:25:37] <Ocawesome101> %lua string.weirdwonk("saghetti? more like spaghetti")
L53[20:25:38] <MichiBot> main:1: attempt to call field 'weirdwonk' (a nil value)
L54[20:25:45] <Ocawesome101> ugh
L55[20:25:52] <Ocawesome101> %lua string.wonkweird("saghetti? more like spaghetti")
L56[20:25:52] <MichiBot> sEgHiTtO? mUrI LoKi sPeGhItTo
L57[20:26:12] <Ocawesome101> @Saghetti see what you've done now
L58[20:26:23] <Saghetti> hold on
L59[20:26:39] <Saghetti> %lua string.wonkweird("sEgHiTtO? mUrI LoKi sPeGhItTo")
L60[20:26:39] <MichiBot> sEgHoTtO? mUrI LuKo sPiGhItTu
L61[20:26:51] <Ocawesome101> it doesn't work on caps
L62[20:26:56] <Saghetti> %lua string.wonkweird("sEgHoTtO? mUrI LuKo sPiGhItTu")
L63[20:26:57] <MichiBot> sEgHuTtO? mUrI LaKu sPoGhItTa
L64[20:27:16] <Saghetti> oh alright
L65[20:27:30] <Saghetti> %lua string.wonk("ocawesome? more like orca whale")
L66[20:27:30] <MichiBot> ucewisumi? muri loki urce wheli
L67[20:27:44] <Saghetti> %lua string.wonk("ucewisumi? muri loki urce wheli")
L68[20:27:45] <MichiBot> aciwosamo? maro luko arci whilo
L69[20:27:54] <Saghetti> %lua string.wonk("aciwosamo? maro luko arci whilo")
L70[20:27:54] <Ocawesome101> %lua string.wonk(string.wonk(string.wonk(string.wonk("saghetti? more like spaghetti"))))
L71[20:27:55] <MichiBot> sughatte? mira leka spughatte
L72[20:27:56] <MichiBot> ecowusemu? meru laku erco wholu
L73[20:28:05] <Michiyo> ...
L74[20:28:08] <Saghetti> %lua string.wonk("ecowusemu? meru laku erco wholu")
L75[20:28:08] <Ocawesome101> %lua string.wonk(string.wonk(string.wonk(string.wonk(string.wonk("saghetti? more like spaghetti")))))
L76[20:28:09] <MichiBot> saghetti? more like spaghetti
L77[20:28:10] <Michiyo> <_<
L78[20:28:10] <MichiBot> icuwasima? mira leka ircu whula
L79[20:28:12] <Ocawesome101> ayyy
L80[20:28:17] <Saghetti> almost there
L81[20:28:29] <Ocawesome101> only needs
L82[20:28:30] <Saghetti> %lua string.wonk("icuwasima? mira leka ircu whula")
L83[20:28:31] <Ocawesome101> y'know
L84[20:28:33] <MichiBot> ocawesome? more like orca whale
L85[20:28:33] <Ocawesome101> 5 iterations
L86[20:28:35] <Saghetti> ayyyy
L87[20:28:37] <Saghetti> yeahik
L88[20:28:41] <Saghetti> because vowels
L89[20:28:45] <Ocawesome101> yep
L90[20:28:51] <Ocawesome101> each vowel gets cycled by one
L91[20:28:53] <Michiyo> aaaaand resetting the sandbox
L92[20:28:58] <Saghetti> nooooo
L93[20:29:03] <Ocawesome101> nooooo
L94[20:29:07] <Michiyo> and removing persistence
L95[20:29:11] <Saghetti> ;-;
L96[20:29:12] <Ocawesome101> D:
L97[20:29:17] <Ocawesome101> why
L98[20:29:17] <Saghetti> evil
L99[20:29:26] <Michiyo> you get one line, make it count
L100[20:29:30] <Saghetti> i was gonna make a MichiBot RPG
L101[20:29:44] <Ocawesome101> I was gonna make... oink
L102[20:29:44] <Saghetti> it was gonna be beautiful, it would use coroutines to do cool stuff
L103[20:29:51] <Ocawesome101> like tonk, but, uh, oink
L104[20:30:03] <Michiyo> payo had ponk
L105[20:30:07] <Ocawesome101> yea ik
L106[20:30:11] <Michiyo> was fun
L107[20:30:19] <Ocawesome101> kind of a reincarnation of ponk
L108[20:30:34] <Ocawesome101> (if payo wanted to redo ponk that'd be fine too)
L109[20:30:59] <Saghetti> petition to keep persistence
L110[20:31:12] <Michiyo> already removed
L111[20:31:16] <Michiyo> -1
L112[20:31:23] <Ocawesome101> petition to re-add persistence
L113[20:31:28] <Saghetti> ^
L114[20:31:30] <Saghetti> %lua x=1
L115[20:31:33] <Saghetti> %lua x
L116[20:31:33] <MichiBot> 1
L117[20:31:39] <Saghetti> :O
L118[20:31:42] <Saghetti> ty
L119[20:31:48] <Michiyo> Well.. I mean I would have to build and restart
L120[20:31:54] <Ocawesome101> phew
L121[20:32:01] <Ocawesome101> so we've got a couple minutes
L122[20:32:14] <Saghetti> lets make the best of it
L123[20:33:43] <Ocawesome101> %lua for i=1,(2^27) do print(string.wonk(string.wonk("kuup pursastuncu")) end
L124[20:33:43] <MichiBot> main:1: ')' expected near 'end'
L125[20:33:49] <Ocawesome101> %lua for i=1,(2^27) do print(string.wonk(string.wonk("kuup pursastuncu"))) end
L126[20:33:59] <MichiBot> Message too long to send to channel null
L127[20:34:16] <Ocawesome101> t-there's-there's no paste?
L128[20:34:22] <Saghetti> %lua guessnum = {} ; guessnum.sessions = {} ; function guesscoro() print("Your number is " + coroutine.yield() end
L129[20:34:23] <MichiBot> main:1: ')' expected near 'end'
L130[20:34:27] <Michiyo> neat.
L131[20:34:29] <Michiyo> oh well
L132[20:34:38] <Saghetti> %lua guessnum = {} ; guessnum.sessions = {} ; function guesscoro() print("Your number is " + coroutine.yield()) end
L133[20:34:38] <Michiyo> https://paste.pc-logix.com/ works fine, BTW.
L134[20:34:54] <Saghetti> at least we're doing it in #MichiBot
L135[20:35:05] <Ocawesome101> isn't this what this channel is for?
L136[20:35:15] <Michiyo> No, not really but whatever..
L137[20:35:16] <Ocawesome101> is bot spam?
L138[20:36:40] <Saghetti> %lua function guess(s,n) if guessnum.sessions[s] == nil then guessnum.sessions[s] = coroutine.create(guesscoro) end; guessnum.sessions[s].resume(n) end
L139[20:36:51] <Saghetti> %lua guess("Saghetti",5)
L140[20:36:51] <MichiBot> main:1: attempt to index field '?' (a thread value)
L141[20:37:23] <Saghetti> %lua function guess(s,n) if guessnum.sessions[s] == nil then guessnum.sessions[s] = coroutine.create(guesscoro) end; coroutine.resume(guessnum.sessions[s],n) end
L142[20:37:30] <Saghetti> %lua guess("Saghetti",5)
L143[20:38:03] <Saghetti> %lua for k,v in pairs(guessnum.sessions) print(k) end
L144[20:38:03] <MichiBot> main:1: 'do' expected near 'print'
L145[20:38:14] <Saghetti> %lua for k,v in pairs(guessnum.sessions) do print(k) end
L146[20:38:16] <MichiBot> Saghetti
L147[20:38:40] <Saghetti> coroutine.resume(guessnum.sessions[s],"abc")
L148[20:38:51] <Saghetti> %lua coroutine.resume(guessnum.sessions[s],"abc")
L149[20:38:51] <MichiBot> main:1: bad argument #1 to 'resume' (coroutine expected)
L150[20:39:25] <Saghetti> %source
L151[20:39:26] <MichiBot> Saghetti: https://github.com/PC-Logix/LanteaBot/
L152[20:39:56] <Saghetti> welp im done
L153[20:40:08] <Saghetti> i'll write out a cool lua script and then actually add it
L154[20:40:17] <Ocawesome101> %lua local last, record = os.time(), 0; function oink() if os.time() - last >= record then print("Oink record beaten by " .. (os.time() - last) - record .. "! New record is " .. os.time() - last); record = os.time() - last end end
L155[20:40:24] <Ocawesome101> %lua oink()
L156[20:40:26] <MichiBot> Oink record beaten by 8! New record is 8
L157[20:40:31] <Ocawesome101> eeeeee
L158[20:40:42] <Saghetti> %lua oink()
L159[20:40:43] <MichiBot> Oink record beaten by 18! New record is 26
L160[20:40:53] <Saghetti> %lua oink()
L161[20:40:54] <MichiBot> Oink record beaten by 10! New record is 36
L162[20:41:00] <Saghetti> heh
L163[20:41:07] <Ocawesome101> yea, bugs
L164[20:41:07] <Saghetti> kinda broken, but you got the spirit
L165[20:41:08] <Ocawesome101> fixing
L166[20:41:22] <Ocawesome101> %lua local last, record = os.time(), 0; function oink() if os.time() - last >= record then print("Oink record beaten by " .. (os.time() - last) - record .. " sec! New record is " .. os.time() - last .. " sec!"); record = os.time() - last, last = os.time() end end
L167[20:41:22] <MichiBot> main:1: unexpected symbol near '='
L168[20:41:36] <Ocawesome101> %lua local last, record = os.time(), 0; function oink() if os.time() - last >= record then print("Oink record beaten by " .. (os.time() - last) - record .. " sec! New record is " .. os.time() - last .. " sec!"); record = os.time() - last last = os.time() end end
L169[20:41:40] <Michiyo> %lua uhm("Test")
L170[20:41:41] <MichiBot> eTssts
L171[20:41:47] <Ocawesome101> %lua oink()
L172[20:41:48] <MichiBot> Oink record beaten by 10 sec! New record is 10 sec!
L173[20:41:49] <Michiyo> Nice, so that still works
L174[20:41:58] <Ocawesome101> %lua oink()
L175[20:41:59] <MichiBot> Oink record beaten by 2 sec! New record is 12 sec!
L176[20:42:02] <Saghetti> %oink()
L177[20:42:03] <Ocawesome101> hmmm
L178[20:42:09] <Ocawesome101> stilllllll brooookeeeen
L179[20:43:15] <Saghetti> %lua load
L180[20:43:15] <MichiBot> function: 0x7f6d5c920c30
L181[20:43:21] <Saghetti> :O
L182[20:44:10] <Ocawesome101> %lua local last, record = os.time(), 0; function oink() if os.time() - last >= record then print("Oink record beaten by " .. (os.time() - last) - record .. " sec! New record is " .. os.time() - last .. " sec!"); record = os.time() - last; last = os.time() end print("last = " .. last .. ", record = " .. record) end
L183[20:44:15] <Ocawesome101> %lua oink()
L184[20:44:15] <MichiBot> Oink record beaten by 5 sec! New record is 5 sec! | last = 1590551055, record = 5
L185[20:44:23] <Ocawesome101> %lua oink()
L186[20:44:23] <MichiBot> Oink record beaten by 3 sec! New record is 8 sec! | last = 1590551063, record = 8
L187[20:44:34] <Saghetti> %lua oink()
L188[20:44:35] <MichiBot> Oink record beaten by 3 sec! New record is 11 sec! | last = 1590551074, record = 11
L189[20:44:37] <Saghetti> %lua oink()
L190[20:44:38] <MichiBot> last = 1590551074, record = 11
L191[20:44:39] <Ocawesome101> something in there has gone wrong
L192[20:44:52] <Saghetti> timestamp instead of difference?
L193[20:45:11] <Ocawesome101> huh?
L194[20:45:24] <Saghetti> last = 1590551074
L195[20:45:29] <Ocawesome101> oh
L196[20:45:31] <Ocawesome101> yeah
L197[20:45:37] <Ocawesome101> that's just the raw os.time() result
L198[20:45:48] <Ocawesome101> %lua local last, record = os.time(), 0; function oink() if os.time() - last >= record then print("Oink record beaten by " .. (os.time() - last) - record .. " sec! New record is " .. os.time() - last .. " sec!"); record = os.time() - last end last = os.time() end
L199[20:45:53] <Ocawesome101> %lua oink()
L200[20:45:53] <MichiBot> Oink record beaten by 4 sec! New record is 4 sec!
L201[20:46:00] <Ocawesome101> %lua oink()
L202[20:46:01] <MichiBot> Oink record beaten by 4 sec! New record is 8 sec!
L203[20:46:06] * Ocawesome101 sighs internally
L204[20:46:33] <Ocawesome101> wait wait wait
L205[20:46:35] <Ocawesome101> no
L206[20:46:39] <Ocawesome101> that might be working
L207[20:46:41] <Saghetti> wait, what's the max size of an irc message?
L208[20:46:47] <Ocawesome101> no idea
L209[20:46:52] <Saghetti> 512 chars
L210[20:46:58] <Ocawesome101> oh ok
L211[20:47:07] <Michiyo> INCLUDING everything *BEFORE* the message
L212[20:47:36] <Michiyo> %raw privmsg #MichiBot: This is a message
L213[20:47:43] <Michiyo> %raw privmsg #MichiBot :This is a message
L214[20:47:43] <MichiBot> This is a message
L215[20:47:59] <Michiyo> so that ACTUALLY took "privmsg #MichiBot :This is a message\n"
L216[20:48:15] <Saghetti> so my best bet is probably 400 chars or so
L217[20:48:16] <Michiyo> or is it \r\n, I'm not 100% sure :P
L218[20:48:25] <Saghetti> 450 actually
L219[20:49:05] <Michiyo> IIRC it ALSO includes your hostmask
L220[20:49:15] <Michiyo> Test
L221[20:49:21] <ThePiGuy24> %raw privmsg #oc: test
L222[20:49:30] <Michiyo> hahaha no.
L223[20:49:43] <Ocawesome101> %lua local last, record = os.time(), 0; function oink() if os.time() - last >= record then print("Oink record beaten by " .. (os.time() - last) - record .. " sec! New record is " .. os.time() - last .. " sec!"); record = os.time() - last else print("Sorry! You missed the record of " .. record .. " sec, by " .. record - (os.time() - last) .. " sec.") end last = os.time() end
L224[20:49:46] <ThePiGuy24> rip
L225[20:49:53] <Ocawesome101> that happened to be exactly 400 chars
L226[20:49:59] <Ocawesome101> %lua oink()
L227[20:49:59] <MichiBot> Oink record beaten by 16 sec! New record is 16 sec!
L228[20:50:04] <Michiyo> Though that does point out ":Ocawesome101!~ocawesome@38.65.248.207 PRIVMSG #MichiBot :%lua local"
L229[20:50:18] <Michiyo> so yeah ALL of that before the actual message counts against your payload as well
L230[20:50:27] <ThePiGuy24> ah yes the new pattented "Oink", nothing to do with tonk
L231[20:50:43] <Ocawesome101> ah ok
L232[20:51:05] <Ocawesome101> ThePiGuy24: nope, definitely nothing at all to do with tonk
L233[20:51:48] <Ocawesome101> Michiyo: wasn't there an alias set up for ponk, and btw does it require permission to set up aliases
L234[20:51:58] <Michiyo> no, and yes
L235[20:52:11] <Ocawesome101> could have sworn you had %ponk
L236[20:52:20] <ThePiGuy24> %lua load("print('test')")()
L237[20:52:20] <MichiBot> test
L238[20:52:24] <ThePiGuy24> yay
L239[20:52:30] <Michiyo> Ah, yes there was
L240[20:52:34] <Michiyo> it was used twice.
L241[20:52:37] <ThePiGuy24> can have code of arbitrary length
L242[20:52:38] <Ocawesome101> :P
L243[20:53:00] <Michiyo> Both times it replied with "main:1: attempt to call global ponk (a nil value)"
L244[20:53:07] <Ocawesome101> oof lol
L245[20:53:21] <ThePiGuy24> %lua somecode = "print('this is part 1 of the program')\n"
L246[20:53:34] <Saghetti> thats actually what im doing rn
L247[20:53:42] <Saghetti> %lua print("a")
L248[20:53:42] <Saghetti> %lua print("b")
L249[20:53:42] <MichiBot> a
L250[20:53:43] <MichiBot> b
L251[20:53:46] <Saghetti> ooooh
L252[20:53:48] <ThePiGuy24> %lua somecode = somecode .. "print('this is part 2 of the program')"
L253[20:54:00] <ThePiGuy24> %lua load(somecode)()
L254[20:54:00] <MichiBot> this is part 1 of the program | this is part 2 of the program
L255[20:54:05] <ThePiGuy24> ayy
L256[20:54:12] <Saghetti> i'm actually making an auto-splitter
L257[20:54:14] <Saghetti> you read my mind
L258[20:54:15] <Ocawesome101> that could be quite useful
L259[20:54:21] <Michiyo> don't go over 4 newlines from discord... it'll be funny if you do though
L260[21:01:44] <Saghetti> Code Block pastebined https://paste.pc-logix.com/efafewexoh
L261[21:01:56] <Saghetti> oh that failed miserably
L262[21:02:56] <Ocawesome101> use http://en.wikipedia.org/wiki/Special:Search?go=Go&search=string for your strings, no escapes necessary
L263[21:03:00] <Ocawesome101> uhhhh
L264[21:03:02] <Ocawesome101> wtf
L265[21:03:09] <Ocawesome101> \[\[string\]\]
L266[21:03:15] <Ocawesome101> but no backslashes
L267[21:03:33] <Saghetti> %lua print("\\"")
L268[21:03:33] <MichiBot> main:1: unfinished string near <eof>
L269[21:03:35] <Michiyo> haha, Yeah.... don't go 4 lines or over, or use codeblocks :D
L270[21:03:38] <Saghetti> ree
L271[21:03:55] <Saghetti> the point of newlines is so i could do stuff like this
L272[21:04:08] <Michiyo> Oh, I'm very aware of why you wanted to.
L273[21:04:09] <Saghetti> Message contained 4 or more newlines and was pastebined https://paste.pc-logix.com/iduperocaz
L274[21:04:12] <Michiyo> I'm telling you NOT to.
L275[21:04:15] <Michiyo> because of that.
L276[21:04:19] <Michiyo> ^Saghetti> Message contained 4 or more newlines and was pastebined https://paste.pc-logix.com/iduperocaz
L277[21:04:29] <Saghetti> ah
L278[21:04:39] <Saghetti> dang it, corded!
L279[21:04:55] <Michiyo> So 4+ newlines, or codeblocks are bad.
L280[21:05:00] <Ocawesome101> 3 line message maybe?
L281[21:05:03] ⇨ Joins: Saghetti (Saghetti!webchat@c-67-164-116-220.hsd1.ca.comcast.net)
L282[21:05:04] <Michiyo> Either do it on IRC.
L283[21:05:10] <Michiyo> or figure out a URL loader :p
L284[21:05:34] <Saghetti> dang it
L285[21:05:43] <Saghetti> esper only likes 2 newlines
L286[21:05:56] <Michiyo> I've sent FAR more than 2 newlines here
L287[21:06:03] <Michiyo> maybe don't use webchat.
L288[21:06:03] <Michiyo> :P
L289[21:06:15] <Saghetti> i mean, it's really the only thing i can use rn
L290[21:06:38] <Michiyo> Most unfortunate... better get to work on a compact wget replacement in lua.
L291[21:06:51] <Saghetti> ooh idea
L292[21:06:55] <Saghetti> encode it inhex
L293[21:06:56] <Ocawesome101> does michibot have internet access in lua?
L294[21:06:59] <Saghetti> nope :(
L295[21:07:03] <Ocawesome101> meh
L296[21:07:41] <Michiyo> I mean.. I might be able to implement luasocket...
L297[21:07:43] <Michiyo> unlikely though
L298[21:08:29] <Ocawesome101> rc's variable parsing is interesting
L299[21:08:31] <Michiyo> %local http = require("socket.http")
L300[21:08:38] <Ocawesome101> excuse me, wrong channel
L301[21:08:42] <Michiyo> %lua http.request
L302[21:08:43] <MichiBot> main:1: attempt to index global 'http' (a nil value)
L303[21:08:49] <Michiyo> err
L304[21:08:57] <Michiyo> %lua http = require("socket.http")
L305[21:08:57] <MichiBot> main:1: attempt to call global 'require' (a nil value)
L306[21:08:58] <Michiyo> %lua http.request
L307[21:09:00] <MichiBot> main:1: attempt to index global 'http' (a nil value)
L308[21:09:01] <Michiyo> nope
L309[21:09:02] <Michiyo> oh well
L310[21:09:42] <Michiyo> Likely something that was removed from the sandbox for safety
L311[21:10:44] <Saghetti> %lua print(string.chars("41424344"))
L312[21:10:45] <MichiBot> main:1: attempt to call field 'chars' (a nil value)
L313[21:10:57] <Saghetti> %lua print(string.char("41424344"))
L314[21:10:58] <MichiBot> main:1: bad argument #1 to 'char' (value out of range)
L315[21:11:49] <Ocawesome101> %lua print(string.char(41, 42, 43, 44))
L316[21:11:50] <MichiBot> )*+,
L317[21:17:23] ⇦ Quits: Ocawesome101 (Ocawesome101!~ocawesome@38.65.248.207) (Quit: A Konversation user has left the chat.)
L318[21:20:49] <Saghetti> %lua local function sc(b,c)local d={}for e=1,#b,c do d[#d+1]=b:sub(e,e+c-1)end;return d end function loadhex(h) local chs = sc(h,2); print(chs) end
L319[21:21:04] <Saghetti> %lua loadhex("deadbeef")
L320[21:21:04] <MichiBot> table: 0x7f6cfc028610
L321[21:22:22] <Saghetti> %lua local function sc(b,c)local d={}for e=1,#b,c do d[#d+1]=b:sub(e,e+c-1)end;return d end function loadhex(h) local chs=sc(h,2); local out=""; for k,v in pairs(chs) do out = out .. string.char(tonumber(v,16)) end end
L322[21:22:40] <Saghetti> %lua local function sc(b,c)local d={}for e=1,#b,c do d[#d+1]=b:sub(e,e+c-1)end;return d end function loadhex(h) local chs=sc(h,2); local out=""; for k,v in pairs(chs) do out = out .. string.char(tonumber(v,16))end; return out; end
L323[21:22:54] <Saghetti> %lua loadhex("414243")
L324[21:22:55] <MichiBot> ABC
L325[21:23:00] <Saghetti> o_O
L326[21:23:22] <Saghetti> woah
L327[21:28:55] ⇨ Joins: Saghetti2 (Saghetti2!Mibbit@c-67-164-116-220.hsd1.ca.comcast.net)
L328[21:29:05] <Saghetti2> dang it
L329[21:29:12] <Saghetti2> mibbit is also mean
L330[21:29:15] <Michiyo> lol.. mibbit
L331[21:29:33] ⇦ Quits: Saghetti2 (Saghetti2!Mibbit@c-67-164-116-220.hsd1.ca.comcast.net) (Client Quit)
L332[21:31:36] <Saghetti> welp, im done for now
L333[21:31:41] <Saghetti> time to get some actual schoolwork done
L334[21:32:00] <Saghetti> using regex to split a file into chunks wasn't the best decision
L335[21:32:09] ⇦ Quits: Saghetti (Saghetti!webchat@c-67-164-116-220.hsd1.ca.comcast.net) (Quit: webchat.esper.net)
L336[21:32:43] <Michiyo> o/
L337[21:33:04] <ThePiGuy24> %s/to split a file into chunks wasn't the best/was a bad/
L338[21:33:04] <MichiBot> <Saghetti> using regex was a bad decision
L339[22:01:13] <Michiyo> ^^
L340[22:12:16] <Saghetti> relatable
<<Prev Next>> Scroll to Top