<<Prev Next>> Scroll to Bottom
Stuff goes here
L1[00:19:34] ⇨ Joins: ThePiGuy24 (~ThePiGuy2@2a10:4a80:200::10)
L2[00:20:18] ⇦ Quits: TPG24 (~ThePiGuy2@host-92-31-111-231.as13285.net) (Ping timeout: 189 seconds)
L3[00:51:36] ⇨ Joins: TPG24 (~ThePiGuy2@host-92-31-111-231.as13285.net)
L4[00:53:18] ⇦ Quits: ThePiGuy24 (~ThePiGuy2@2a10:4a80:200::10) (Ping timeout: 189 seconds)
L5[02:31:05] ⇨ Joins: lunar_sam (c44a7f2987@2a00:c70:1:178:170:40:189:1)
L6[02:40:51] <lunar_sam> %lua checkArg
L7[02:40:51] <MichiBot> function: 0x7ff12485a450
L8[02:40:54] <lunar_sam> oh very good
L9[02:41:09] <lunar_sam> %lua checkArg(1, "test", "number")
L10[02:41:09] <MichiBot> bad argument #1 (number expected, got string)
L11[03:04:02] <lunar_sam> %lua _VERSION
L12[03:04:02] <MichiBot> Lua 5.2
L13[03:19:43] <luna​r_sam> %lua test
L14[03:19:44] <MichiBot> nil
L15[03:19:48] <luna​r_sam> good
L16[03:20:04] <luna​r_sam> %lua for k, v in pairs(_G) do print(k, v) end
L17[03:20:04] <MichiBot> main:1: bad argument #1 to 'pairs' (table expected, got nil)
L18[03:20:09] <luna​r_sam> oh what
L19[03:20:24] <luna​r_sam> %lua _G
L20[03:20:24] <MichiBot> nil
L21[03:20:31] <luna​r_sam> %lua _ENV
L22[03:20:53] <luna​r_sam> %lua _ENV
L23[03:20:53] <MichiBot> table: 0x7ff124714120
L24[03:21:23] <luna​r_sam> %lua for k, v in pairs(_ENV) do print(k, v) end
L25[03:21:24] <MichiBot> Message too long to send to channel https://paste.pc-logix.com/wenegutada
L26[03:22:19] <luna​r_sam> wack
L27[03:48:01] <lunar_sam> spam incoming soon-ish
L28[03:49:40] <lunar_sam> %lua _TBUF = ""
L29[03:49:54] <lunar_sam> %lua #_TBUF
L30[03:49:54] <MichiBot> 0
L31[03:52:12] <lunar_sam> %lua _TBUF = _TBUF .. 'ufaq=(function()local a={{name=\'\',edit=os.time(),text=\'ufaq (User-edited Frequently Asked Questions) is a simple util written by one idiot (sam) because they wanted a craptastic \\\'\\\'wiki\\\'\\\' in IRC.\',history={}}}local b={}local c=string.gsub;local d=table.insert;local e=\'\'local function f(g)return c'
L32[03:52:33] <lunar_sam> %lua _TBUF = _TBUF .. '(c(g,\'^%s+\',e),\'%s+$\',e)end;function b.add(h,i)checkArg(1,h,\'string\')checkArg(2,i,\'string\')if#h==0 then print(\'entry needs a name\')return end;h=f(h)i=f(i)for j=1,#a do local k=a[j]if k.name==h then local l=k.text;local m=k.edit;if l==i then return end;k.text=i;k.edit=os.time()d(k.history,{text=l,edi'
L33[03:52:46] <lunar_sam> %lua #_TBUF
L34[03:52:46] <MichiBot> 600
L35[03:53:01] <lunar_sam> %lua _TBUF = _TBUF .. 't=m})return end end;a[#a+1]={name=h,text=i,history={}}table.sort(a,function(n,o)return n.name<o.name end)end;function b.get(h)checkArg(1,h,\'string\',\'nil\')h=h or\'\'for j=1,#a do local k=a[j]if k.name:lower():sub(1,#h)==h:lower()then print(k.text)return end end end;function b.history(h,p,q)p=math.min(p'
L36[03:53:51] <lunar_sam> %lua _TBUF = _TBUF .. ' or 10,10)q=q or 1;checkArg(1,h,\'string\')checkArg(2,p,\'number\',\'nil\')checkArg(3,q,\'number\',\'nil\')h=h or\'\'for j=1,#a do local k=a[j]if k.name:lower():sub(1,#h)==h:lower()then print(\'Last edit: \'..os.date(\'%c\',k.edit))local r=#k.history-1+q;local s=0;for t=r,r-p+1,-1 do s=s+1;local u=k.history[t]if no'
L37[03:54:13] <lunar_sam> %lua _TBUF = _TBUF .. 't u then break end;print(string.format(\'(%.4x) %s: %s\',t,os.date(\'%c\',u.edit),u.text:sub(1,100)))end;print(string.format(\'%d of %d entries listed.\',p,#k.history))return end end end;function b.historical(h,v)checkArg(1,h,\'string\')checkArg(2,v,\'number\')h=h or\'\'for j=1,#a do local k=a[j]if k.name:lower'
L38[03:54:13] <MichiBot> main:1: unfinished string near <eof>
L39[03:54:18] <lunar_sam> eh?
L40[03:55:31] <lunar_sam> oh
L41[03:55:34] <lunar_sam> fuck
L42[03:55:48] <lunar_sam> %lua _TBUF = ''
L43[03:57:08] <lunar_sam> %lua _TBUF = _TBUF .. 'ufaq=(function()local a={{name=\'\',edit=os.time(),text=\'ufaq (User-edited Frequently Asked Questions) is a simple util written by one idiot (sam) because they wanted a craptastic \\\'\\\'wiki\\\'\\\' in IRC.\',' print(#_TBUF)
L44[03:57:08] <MichiBot> 200
L45[03:57:37] <lunar_sam> %lua _TBUF = _TBUF .. 'history={}}}local b={}local c=string.gsub;local d=table.insert;local e=\'\'local function f(g)return c(c(g,\'^%s+\',e),\'%s+$\',e)end;function b.add(h,i)checkArg(1,h,\'string\')checkArg(2,i,\'string\')if#h==0 t' print(#_TBUF)
L46[03:57:38] <MichiBot> 400
L47[03:57:59] <lunar_sam> %lua _TBUF = _TBUF .. 'hen print(\'entry needs a name\')return end;h=f(h)i=f(i)for j=1,#a do local k=a[j]if k.name==h then local l=k.text;local m=k.edit;if l==i then return end;k.text=i;k.edit=os.time()d(k.history,{text=l,edi' print(#_TBUF)
L48[03:57:59] <MichiBot> 600
L49[03:58:09] <lunar_sam> %lua _TBUF = _TBUF .. 't=m})return end end;a[#a+1]={name=h,text=i,history={}}table.sort(a,function(n,o)return n.name<o.name end)end;function b.get(h)checkArg(1,h,\'string\',\'nil\')h=h or\'\'for j=1,#a do local k=a[j]if k.name:lo' print(#_TBUF)
L50[03:58:09] <MichiBot> 800
L51[03:58:21] <lunar_sam> %lua _TBUF = _TBUF .. 'wer():sub(1,#h)==h:lower()then print(k.text)return end end end;function b.history(h,p,q)p=math.min(p or 10,10)q=q or 1;checkArg(1,h,\'string\')checkArg(2,p,\'number\',\'nil\')checkArg(3,q,\'number\',\'nil\')h=h' print(#_TBUF)
L52[03:58:21] <MichiBot> 1000
L53[03:58:30] <lunar_sam> %lua _TBUF = _TBUF .. ' or\'\'for j=1,#a do local k=a[j]if k.name:lower():sub(1,#h)==h:lower()then print(\'Last edit: \'..os.date(\'%c\',k.edit))local r=#k.history-1+q;local s=0;for t=r,r-p+1,-1 do s=s+1;local u=k.history[t]if no' print(#_TBUF)
L54[03:58:49] <lunar_sam> %lua _TBUF = _TBUF .. ' or\'\'for j=1,#a do local k=a[j]if k.name:lower():sub(1,#h)==h:lower()then print(\'Last edit: \'..os.date(\'%c\',k.edit))local r=#k.history-1+q;local s=0;for t=r,r-p+1,-1 do s=s+1;local u=k.history[t]if no' print(#_TBUF)
L55[03:58:49] <MichiBot> 1200
L56[03:59:08] <lunar_sam> %lua _TBUF = _TBUF .. 't u then break end;print(string.format(\'(%.4x) %s: %s\',t,os.date(\'%c\',u.edit),u.text:sub(1,100)))end;print(string.format(\'%d of %d entries listed.\',p,#k.history))return end end end;function b.historic' print(#_TBUF)
L57[03:59:08] <MichiBot> main:1: unfinished string near <eof>
L58[03:59:13] <lunar_sam> wtf
L59[04:03:05] <lunar_sam> %lua _THV = "742075207468656e20627265616b20656e643b7072696e7428737472696e672e666f726d6174282728252e3478292025733a202573272c742c6f732e6461746528272563272c752e65646974292c752e746578743a73756228312c313030292929656e643b7072696e7428737472696e672e666f726d617428272564206f6620256420656e7472696573206c69737465642e272c702c236b2e686973746f7279292972657475726e20656e6420656e6420656e643b66756e6374696f6e20622e68697374
L60[04:03:05] <lunar_sam> 6f726963"
L61[04:03:05] <MichiBot> main:1: unfinished string near <eof>
L62[04:03:08] <lunar_sam> pain
L63[04:03:11] <lunar_sam> but okay
L64[04:03:46] <lunar_sam> oh wait
L65[04:03:56] <lunar_sam> %lua _THV = '742075207468656e20627265616b20656e643b7072696e7428737472696e672e666f726d6174282728252e3478292025733a202573272c742c6f732e6461746528272563272c752e65646974292c752e746578743a73756228312c313030292929656e643b7072696e7428737472696e672e666f726d617428272564206f6620256420656e7472696573206c69737465642e272c702c236b2e686973746f7279292972657475726e20656e6420656e6420656e643b66756e6374696f6e20622e68697374
L66[04:03:56] <lunar_sam> 6f726963'
L67[04:03:56] <MichiBot> main:1: unfinished string near <eof>
L68[04:03:58] <lunar_sam> oh
L69[04:04:24] <lunar_sam> %lua _THV = '742075207468656e20627265616b20656e643b7072696e7428737472696e672e666f726d6174282728252e3478292025733a202573272c742c6f732e6461746528272563272c75'
L70[04:04:33] <lunar_sam> %lua #_THV
L71[04:04:45] <lunar_sam> %lua #_THV
L72[04:04:45] <MichiBot> 142
L73[04:05:26] <lunar_sam> %lua _THV = _THV .. 'e65646974292c752e746578743a73756228312c313030292929656e643b7072696e7428737472696e672e666f726d617428272564206f6620256420656e74726' print(#_THV)
L74[04:05:26] <MichiBot> 270
L75[04:06:03] <lunar_sam> %lua _THV = _THV .. '96573206c69737465642e272c702c236b2e686973746f7279292972657475726e20656e6420656e6420656e643b66756e6374696f6e20622e686973746f726963' print(#_THV)
L76[04:06:03] <MichiBot> 399
L77[04:06:07] <lunar_sam> wait what
L78[04:06:11] <lunar_sam> pain
L79[04:07:48] <Amanda> Goddesses, element is having A Time with that hex, random strings of 0-9 being detected as phone numbers
L80[04:08:34] <Michiyo> Hey, did you know.... you can load lua from a URL instead of trying to cram it all into a message?
L81[04:08:55] <Michiyo> %lua https://paste.pc-logix.com/raw/jidoyepuse
L82[04:08:55] <MichiBot> hi
L83[04:09:33] <lunar_sam> oh
L84[04:09:41] <lunar_sam> good to know
L85[04:09:53] <lunar_sam> `screaming`
L86[04:10:44] <lunar_sam> %lua https://paste.pc-logix.com/raw/ijamuvojuk
L87[04:10:55] <lunar_sam> %lua ufaq()
L88[04:10:55] <MichiBot> ufaq (User-edited Frequently Asked Questions) is a simple util written by one idiot (sam) because they wanted a craptastic ''wiki'' in IRC.
L89[04:11:01] <lunar_sam> amazing
L90[04:11:23] <lunar_sam> i just wanted to make a stupid thing
L91[04:11:28] <Michiyo> note. that does NOT persist reboots
L92[04:11:35] <Michiyo> or someone resetting the lua state
L93[04:12:17] <lunar_sam> all good
L94[04:12:22] <lunar_sam> it's just a dumb thing
L95[04:12:27] <lunar_sam> lol
L96[04:12:39] <lunar_sam> too bad there's no way to get what user executed the lua
L97[04:13:28] <Michiyo> if you turn it into a dyncmd you can
L98[04:13:54] <Michiyo> though, that's pointless as lua doesn't persist, and dyncmds doo
L99[04:13:55] <Michiyo> do*
L100[04:14:02] <lunar_sam> lol
L101[04:14:28] <lunar_sam> i could PR it as a command :P
L102[04:14:38] <lunar_sam> seems like too much effort, though
L103[04:16:18] <Michiyo> Ok... I'm dumb and haven't properly lua'd in ages, so please forgive this stupidity
L104[04:16:21] <Michiyo> %lua function hmm(test) print test end
L105[04:16:21] <MichiBot> main:1: syntax error near 'test'
L106[04:16:28] <lunar_sam> could add a feature to export/import the table but o well
L107[04:17:38] <Michiyo> %lua function hmm(test) print(test) end
L108[04:17:56] <Michiyo> %dyncmd add hmm [lua] hmm([nick])
L109[04:17:56] <MichiBot> Mic​hiyo: dyncmd is enabled in this channel
L110[04:18:07] <Michiyo> ... how the fuck do I add a command lol
L111[04:18:12] <lunar_sam> lol
L112[04:18:58] <Michiyo> %command add hmm [lua] hmm([nick])
L113[04:18:59] <MichiBot> Michiyo: Command Added! Don't forget to set help text with %command addhelp!
L114[04:19:02] <Michiyo> %hmm
L115[04:19:03] <MichiBot> main:1: unexpected symbol near [
L116[04:19:13] <Michiyo> Ok, I guess lua runs BEFORE the replacements
L117[04:19:15] <Michiyo> good to know
L118[04:19:31] <lunar_sam> lol
L119[04:19:36] <lunar_sam> %lua ufaq.history("next")
L120[04:19:36] <MichiBot> Last edit: Sun Jan 23 04:19:36 2022 | 10 of 0 entries listed.
L121[04:19:40] <Michiyo> Oh, yep
L122[04:19:48] <Michiyo> Well, THAT is easy enough to swap....
L123[04:19:52] <lunar_sam> oh michibot doesn't do newlines
L124[04:19:54] <lunar_sam> oh well
L125[04:20:00] <lunar_sam> history listing will look weird
L126[04:20:11] <lunar_sam> also 10 of 0 entries listed lmfao
L127[04:20:33] <PCL-Jenkins> Starting build #1028 for job LanteaBot (previous build: SUCCESS)
L128[04:20:44] <Michiyo> yeah, all newlines are replaced with "|" to stop people from spamming
L129[04:20:55] <PCL-Jenkins> Project LanteaBot build #1028: SUCCESS in 24 sec: https://ci.pc-logix.com/job/LanteaBot/1028/
L130[04:20:56] <PCL-Jenkins> noreply: Replacements before Lua/JS.
L131[04:21:32] <Michiyo> %restart
L132[04:21:32] ⇦ Quits: MichiBot (~MichiBot@pc-logix.com) (Remote host closed the connection)
L133[04:21:50] ⇨ Joins: MichiBot (~MichiBot@pc-logix.com)
L134[04:21:50] Spock sets mode: +o on MichiBot
L135[04:22:00] <Michiyo> %command add hmm [lua] hmm([nick])
L136[04:22:10] <Michiyo> Oh, right not that part... lmao
L137[04:22:29] <Michiyo> %lua function hmm(test) print(test) end
L138[04:22:31] <MichiBot> Michiyo: Can't override existing commands.
L139[04:22:45] <Michiyo> %hmm
L140[04:22:45] <MichiBot> main:1: attempt to call global hmm (a nil value)
L141[04:22:56] <Michiyo> ....
L142[04:22:58] <Michiyo> %lua function hmm(test) print(test) end
L143[04:23:03] <Michiyo> %hmm
L144[04:23:03] <MichiBot> main:1: attempt to call global hmm (a nil value)
L145[04:23:05] <Michiyo> o_O
L146[04:23:13] <lunar_sam> n--wait
L147[04:23:13] <Michiyo> wtf did I do wrong?
L148[04:23:15] <lunar_sam> what
L149[04:23:16] <lunar_sam> lol
L150[04:23:26] <lunar_sam> %lua ufaq
L151[04:23:27] <MichiBot> nil
L152[04:23:34] <lunar_sam> ah
L153[04:23:47] <Michiyo> Yeah, you'll have to reload that
L154[04:23:58] <lunar_sam> tfw no persistance
L155[04:24:04] <Michiyo> I *DID* mention this
L156[04:24:05] <Michiyo> lol
L157[04:24:15] <lunar_sam> yeah i know :P
L158[04:24:21] <lunar_sam> i might work out a PR just for this dumb thing
L159[04:24:24] <Michiyo> I don't even know how I'd go about adding it
L160[04:24:24] <lunar_sam> and i mean very dumb thing
L161[04:24:33] <lunar_sam> you probably shouldn't tbh
L162[04:24:40] <lunar_sam> people would find a way to abuse it
L163[04:24:49] <Michiyo> I mean I wouldn't MIND it, and I can just flush it away with
L164[04:24:51] <Michiyo> %luareset
L165[04:24:53] <Michiyo> or...
L166[04:24:54] <Michiyo> %resetlua
L167[04:25:00] <Michiyo> Or... wtf ever
L168[04:25:02] <lunar_sam> %lua https://paste.pc-logix.com/raw/ijamuvojuk
L169[04:25:08] <Michiyo> I KNOW MY OWN BOT OK!
L170[04:25:12] <lunar_sam> heh
L171[04:25:34] <Michiyo> maybe
L172[04:25:38] <Michiyo> anyway, it's easy to reset...
L173[04:25:55] <lunar_sam> sam makes the craptastic sarcasm "wiki" that lives in RAM
L174[04:26:07] <lunar_sam> is that OC enough :P
L175[04:26:20] <lunar_sam> i'll go ahead and add an export feature
L176[04:27:19] <Michiyo> %langtest
L177[04:27:19] <MichiBot> <eval>:1:21 Expected ; but found math | Math.floor(1.9) [lua]math.floor(1.9) | ^ in <eval> at line number 1 at column number 21
L178[04:27:31] <Michiyo> Maybe I broke it all!
L179[04:27:32] <Michiyo> :D
L180[04:27:40] <Michiyo> %locate
L181[04:27:40] <MichiBot> I have located the book that is glued shut you asked for, it is at https://www.google.com/maps/@61.233790,-19.011073,15z
L182[04:27:51] <lunar_sam> %lua "awoo"
L183[04:27:51] <MichiBot> awoo
L184[04:27:55] <lunar_sam> very good
L185[04:28:14] <Michiyo> %newbie
L186[04:28:15] <MichiBot> https://www.lua.org/pil/contents.html#P1
L187[04:28:16] <MichiBot> https://ocdoc.cil.li
L188[04:28:17] <MichiBot> https://www.tutorialspoint.com/lua/index.htm
L189[04:28:21] <Michiyo> Ok, no dyncmd is fine
L190[04:28:22] <Michiyo> wtf then
L191[04:28:48] <Michiyo> %js Math.floor(1.9)
L192[04:28:48] <MichiBot> 1.0
L193[04:28:56] <Michiyo> %lua math.floor(1.9)
L194[04:28:56] <MichiBot> 1
L195[04:29:02] <Michiyo> %langtest
L196[04:29:02] <MichiBot> <eval>:1:21 Expected ; but found math | Math.floor(1.9) [lua]math.floor(1.9) | ^ in <eval> at line number 1 at column number 21
L197[04:29:05] <Michiyo> WTF?
L198[04:29:47] <Michiyo> that is just "[js]Math.floor(1.9) [lua]math.floor(1.9)"
L199[04:29:54] <Michiyo> which should run js then lua....
L200[04:30:31] <Michiyo> Oh, wait...
L201[04:31:28] <Michiyo> I don't think that it supports multiple languages in a single command anymore...
L202[04:31:56] <Michiyo> Ok, meh then...
L203[04:32:05] <Michiyo> So, unrelated...
L204[04:32:17] <Michiyo> %hmm
L205[04:32:17] <MichiBot> main:1: attempt to call global hmm (a nil value)
L206[04:32:26] <Michiyo> %lua function hmm(test) print(test) end
L207[04:32:34] <Michiyo> %lua hmm("Bleh")
L208[04:32:37] <Michiyo> %lua hmm("Bleh")
L209[04:32:37] <MichiBot> Bleh
L210[04:33:42] <Michiyo> are they... somehow using DIFFERENT sandboxes?
L211[04:34:13] <lunar_sam> %lua https://paste.pc-logix.com/raw/epomimipal
L212[04:34:33] <lunar_sam> %lua ufaq.add('Next OC update', 'Every time someone asks about the next OC update, it gets pushed back another three months. The timer is currently at 12.5 years.')
L213[04:34:53] <lunar_sam> %lua ufaq.export
L214[04:34:53] <MichiBot> function: 0x7f7e00015cb0
L215[04:35:06] <lunar_sam> %lua ufaq('next')
L216[04:35:06] <MichiBot> Every time someone asks about the next OC update, it gets pushed back another three months. The timer is currently at 12.5 years.
L217[04:35:08] <lunar_sam> good
L218[04:35:17] <lunar_sam> %lua ufaq.export()
L219[04:35:17] <MichiBot> --[[Remember to load the ufaq script!]]ufaq.add("Next OC update", "Every time someone asks about the next OC update, it gets pushed back another three months. The timer is currently at 12.5 years.")
L220[04:35:32] <lunar_sam> i should probably add junk data to make it so it doesn't print to the chat lol
L221[04:36:54] <lunar_sam> %lua https://paste.pc-logix.com/raw/yodedenebu
L222[04:37:08] <lunar_sam> %lua ufaq()
L223[04:37:08] <MichiBot> ufaq (User-edited Frequently Asked Questions) is a simple util written by one idiot (luna​r_sam) because they wanted a craptastic, sarcastic ''wiki'' in IRC. (note: take everything in this with a grain of salt) | Version 1.1
L224[04:37:28] <lunar_sam> %lua ufaq.add("Next OC update", "Every time someone asks about the next OC update, it gets pushed back another three months. The timer is currently at 12.5 years.")
L225[04:37:39] <lunar_sam> %lua ufaq.export()
L226[04:37:39] <MichiBot> Message too long to send to channel https://paste.pc-logix.com/ozagovixop
L227[04:37:43] <lunar_sam> very good
L228[04:37:47] <lunar_sam> i have no idea if it's valid lua
L229[04:38:15] <lunar_sam> it is!
L230[04:38:53] <lunar_sam> where's the bot source code again?
L231[04:39:00] <Michiyo> %source
L232[04:39:00] <MichiBot> https://github.com/PC-Logix/LanteaBot/
L233[04:39:08] <lunar_sam> neat
L234[04:39:13] <lunar_sam> is it in java or scala
L235[04:39:15] <lunar_sam> oh wait
L236[04:39:18] <lunar_sam> rtfgh
L237[04:40:01] <lunar_sam> i could add ufaq to luasb.lua :P
L238[04:40:08] <Michiyo> you could also not. :P
L239[04:40:28] <Michiyo> github.com/PC-Logix/LanteaBot/blob/master/src/main/java/pcl/lc/irc/hooks/JNLuaSandbox.java#L49-L50 see how I do selene
L240[04:41:20] <lunar_sam> ahhhh
L241[04:41:20] <lunar_sam> okay
L242[04:41:23] <Michiyo> Note, you won't find selene in the repo, because on build it grabs the latest files from vex's repo
L243[04:41:56] <lunar_sam> ah
L244[04:41:59] <lunar_sam> i was about to ask that
L245[04:46:00] <lunar_sam> :P i'll grab the bot and play around with it
L246[04:46:44] <lunar_sam> %lua ufaq
L247[04:46:44] <MichiBot> table: 0x7f7de8027560
L248[04:46:46] <lunar_sam> oops
L249[04:46:51] <lunar_sam> %lua ufaq()
L250[04:46:53] <Michiyo> If you decide to run the bot to debug, remember to grab either the DLL or .so from the readme
L251[04:46:54] <Michiyo> https://github.com/PC-Logix/LanteaBot
L252[04:47:04] <lunar_sam> %lua ufaq()
L253[04:47:04] <MichiBot> ufaq (User-edited Frequently Asked Questions) is a simple util written by one idiot (luna​r_sam) because they wanted a craptastic, sarcastic ''wiki'' in IRC. (note: take everything in this with a grain of salt) | Version 1.1
L254[04:47:44] <Michiyo> Or, build your own from gamax's source
L255[04:48:00] <lunar_sam> ty
L256[04:48:38] <lunar_sam> can't wait for the 5 hour git clone lol
L257[04:49:48] <lunar_sam> oh no
L258[04:49:54] <lunar_sam> i was only joking about the 5 hour git clone
L259[04:49:55] <lunar_sam> noooooo
L260[04:49:59] <Michiyo> o_O
L261[04:50:05] <Michiyo> Bots not THAT big... lol
L262[04:50:10] <lunar_sam> oh
L263[04:50:14] <lunar_sam> it just had a few big files
L264[04:50:16] <lunar_sam> lol
L265[04:50:30] <lunar_sam> or my internet is being spotty
L266[04:51:08] <Michiyo> Best of luck if you decide to run the bot for debugging.... as the config system is 100% fucked.
L267[04:51:09] <Michiyo> :D
L268[04:51:23] <lunar_sam> heheh
L269[04:51:37] <lunar_sam> this is starting to sound like one of my projects
L270[04:51:53] <Michiyo> This *SHOULD* work for a default config.properties
L271[04:51:53] <Michiyo> https://paste.pc-logix.com/wadisotabu.ini
L272[04:52:14] <Michiyo> Writing out the default config broke at some point, and it doesn't REALLY matter to me as.. well I have a config
L273[04:52:31] <Michiyo> and I'm not in this to help other people run my bot elsewhere, so if you can't figure it out then good. :P
L274[04:52:38] <lunar_sam> :P
L275[04:52:41] <Michiyo> but in this case I'm helping as you're not looking to run your own lol
L276[04:52:53] <Michiyo> Or... are youuuuuu
L277[04:52:55] <Michiyo> lol
L278[04:53:41] <lunar_sam> nah
L279[04:53:50] <lunar_sam> have no reason to run an IRC bot
L280[04:53:55] <lunar_sam> since i don't have a working server and all :P
L281[04:54:06] <lunar_sam> oh wow that built fast
L282[04:54:07] <lunar_sam> what
L283[04:55:10] <lunar_sam> i'll have to grab an ircd for testing
L284[04:55:55] <Michiyo> fml that reminds me.. I need to get my IRCd back up
L285[04:56:09] <Michiyo> been meaning to do that since *checks calendar* oh wow, like 2 years now
L286[04:56:11] <Michiyo> whoops
L287[04:56:22] <lunar_sam> i'm gonna have fun setting my server back up
L288[04:56:27] <lunar_sam> especially with the stupid data cap
L289[04:56:58] <lunar_sam> hmmm, should i bother making ufaq into a persistant thing
L290[04:57:09] <lunar_sam> if i do, then people might expect a webpage and whatnot
L291[04:57:29] <lunar_sam> and that sounds like far more effort than a stupid lua script
L292[04:59:25] <Mic​hiyo> Yeah... no web server access from lua, which means youd have to write a hook in java
L293[04:59:31] <lunar_sam> hm
L294[04:59:34] <lunar_sam> do i want to do that
L295[04:59:47] <lunar_sam> you know what, i think i do
L296[05:00:10] <lunar_sam> lemme fire up sublime
L297[05:00:32] <Mic​hiyo> I wish you the best of luck. :p
L298[05:00:36] <lunar_sam> i do too
L299[05:00:39] <lunar_sam> i'll need it
L300[05:00:46] <lunar_sam> it's been a long time since i wrote any JVM stuff
L301[05:05:25] <lunar_sam> %help
L302[05:05:25] <MichiBot> luna​r_sam: Command list: http://michibot.pc-logix.com/help
L303[05:06:56] <lunar_sam> hmm
L304[05:07:05] <lunar_sam> i should probably use an IDE but i think that would cause my laptop to catch fire
L305[05:10:38] <lunar_sam> time to risk the fire
L306[05:18:44] <Michiyo> lol
L307[05:19:33] <lunar_sam> it didn't burn down, weirdly enough
L308[05:19:51] <Michiyo> There are currently 3? ways to register and run a command in the bot. The "correct" new way is done in jiggle https://github.com/PC-Logix/LanteaBot/blob/master/src/main/java/pcl/lc/irc/hooks/Jiggle.java
L309[05:20:24] <lunar_sam> give me a sec, gradle is doing something
L310[05:21:09] <Michiyo> Adding a webpage is a BIT more complicated: github.com/PC-Logix/LanteaBot/blob/master/src/main/java/pcl/lc/irc/hooks/Inventory.java#L57-L60 and github.com/PC-Logix/LanteaBot/blob/master/src/main/java/pcl/lc/irc/hooks/Inventory.java#L230-L276
L311[05:21:31] <Michiyo> and you need a page for the basic layout: github.com/PC-Logix/LanteaBot/tree/master/src/main/resources/html
L312[05:21:53] <lunar_sam> i saw the impl in tonk
L313[05:22:02] <lunar_sam> one sec, gotta switch to my desktop
L314[05:22:12] <lunar_sam> IDEA is too much for my laptop
L315[05:22:40] <lunar_sam> when i have 100+ edge tabs open
L316[05:26:29] <lunar_sam> there we are
L317[05:26:31] <lunar_sam> on my desktop
L318[05:33:32] <lunar_sam> the sam-jvm cycle
L319[05:33:35] <lunar_sam> sam has a dumb idea
L320[05:33:39] <lunar_sam> sam opens IDEA
L321[05:33:44] <lunar_sam> sam waits for IDEA to finish loading
L322[05:33:48] <lunar_sam> sam gets bored
L323[05:33:49] <lunar_sam> repeat
L324[05:43:16] <lunar_sam> Michiyo: should i create several commands or just one command with subcommands
L325[05:49:01] <lunar_sam> man idea is having a stroke
L326[06:09:42] <Michiyo> lunar_sam, sorry, stepped away.
L327[06:09:54] <Michiyo> the answer is *shrug*
L328[06:10:09] <Michiyo> If you think they'd make more sense as subcommands do that, otherwise dont
L329[06:16:35] <lunar_sam> aight
L330[06:29:36] <lunar_sam> when i have 100+ edge tabs open
L331[06:31:20] <luna​r_sam> thanks dino
L332[06:33:55] <Forec​aster> As a note, and I said this before, I've made a class-based webpage system
L333[06:34:08] <Forec​aster> I just haven't committed it yet
L334[06:35:04] <Forec​aster> I should probably do that
L335[07:28:22] ⇨ Joins: ForeBot (~ForeBot@81-227-95-20-no600.tbcn.telia.com)
L336[07:29:01] <Forecaster> ?sip
L337[07:29:03] <ForeBot> You drink a shimmering coral potion (New!). Forecaster barely manages to catch a green shell that appears in front of them! (Rem. uses: 0)
L338[07:30:33] ⇦ Quits: ForeBot (~ForeBot@81-227-95-20-no600.tbcn.telia.com) (Client Quit)
L339[07:53:16] ⇨ Joins: ForeBot (~ForeBot@81-227-95-20-no600.tbcn.telia.com)
L340[07:53:47] <Forecaster> ?sip
L341[07:53:48] <ForeBot> You drink a woolly spice potion (New!). Forecaster doesn't seem to have any research points. (Rem. uses: 0)
L342[07:54:17] ⇦ Quits: ForeBot (~ForeBot@81-227-95-20-no600.tbcn.telia.com) (Client Quit)
L343[07:55:26] ⇨ Joins: ForeBot (~ForeBot@81-227-95-20-no600.tbcn.telia.com)
L344[08:03:44] <Forecaster> ?sip
L345[08:03:45] <ForeBot> You drink a boiling naqahdah potion (New!). Forecaster: Nothing seemed to happen...
L346[09:42:51] <Forecaster> ?sip
L347[09:42:52] <ForeBot> You drink an invisible water potion (New!). Forecaster: Nothing seemed to happen...
L348[09:43:31] ⇦ Quits: ForeBot (~ForeBot@81-227-95-20-no600.tbcn.telia.com) ()
L349[09:44:11] ⇨ Joins: ForeBot (~ForeBot@81-227-95-20-no600.tbcn.telia.com)
L350[09:44:25] <Forecaster> ?sip
L351[09:44:25] <ForeBot> You drink a runny chocolate potion (New!). Forecaster gains one research point. Forecaster now has 1 point. (Rem. uses: 0)
L352[09:45:15] ⇦ Quits: ForeBot (~ForeBot@81-227-95-20-no600.tbcn.telia.com) (Client Quit)
L353[09:45:48] ⇨ Joins: ForeBot (~ForeBot@81-227-95-20-no600.tbcn.telia.com)
L354[10:10:44] ⇦ Quits: ForeBot (~ForeBot@81-227-95-20-no600.tbcn.telia.com) ()
L355[10:11:09] ⇨ Joins: ForeBot (~ForeBot@81-227-95-20-no600.tbcn.telia.com)
L356[10:12:39] ⇦ Quits: ForeBot (~ForeBot@81-227-95-20-no600.tbcn.telia.com) (Client Quit)
L357[10:13:19] ⇨ Joins: ForeBot (~ForeBot@81-227-95-20-no600.tbcn.telia.com)
L358[10:14:02] <Forecaster> ?sip
L359[10:14:02] <ForeBot> You drink a soft lime potion (New!). Forecaster barely manages to catch a green shell that appears in front of them! (Rem. uses: 1)
L360[10:14:57] ⇦ Quits: ForeBot (~ForeBot@81-227-95-20-no600.tbcn.telia.com) (Client Quit)
L361[10:15:23] ⇨ Joins: ForeBot (~ForeBot@81-227-95-20-no600.tbcn.telia.com)
L362[10:15:49] <Forecaster> ?sip
L363[10:15:49] <ForeBot> You drink a fragrant white potion (New!). Forecaster barely manages to catch a green shell that appears in front of them! (Rem. uses: 1)
L364[10:16:16] <Forecaster> ?sip
L365[10:16:17] <ForeBot> You drink a porous sky potion (New!). Forecaster barely manages to catch a green shell that appears in front of them! (Rem. uses: 1)
L366[10:16:27] <Forecaster> ?sip
L367[10:16:27] <ForeBot> You drink a boiling moonstone potion (New!). A genie tries to turn Forecaster into a dog, but Forecaster successfully dodge the beam! (12 vs DC 12)
L368[10:23:22] ⇦ Quits: ForeBot (~ForeBot@81-227-95-20-no600.tbcn.telia.com) ()
L369[13:50:26] ⇦ Parts: SquidDev (~SquidDev@autoclave.squiddev.cc) (Bye!))
L370[15:53:37] ⇦ Quits: TPG24 (~ThePiGuy2@host-92-31-111-231.as13285.net) (Ping timeout: 192 seconds)
L371[15:54:44] ⇨ Joins: ThePiGuy24 (~ThePiGuy2@host-92-31-111-231.as13285.net)
L372[15:57:22] ⇦ Parts: lunar_sam (c44a7f2987@2a00:c70:1:178:170:40:189:1) ())
L373[16:38:18] ⇦ Quits: ThePiGuy24 (~ThePiGuy2@host-92-31-111-231.as13285.net) (Remote host closed the connection)
L374[16:38:34] ⇨ Joins: ThePiGuy24 (~ThePiGuy2@host-92-31-111-231.as13285.net)
L375[17:51:25] ⇨ Joins: lunar_sam (c44a7f2987@jabberfr.org)
L376[19:17:09] ⇦ Quits: ThePiGuy24 (~ThePiGuy2@host-92-31-111-231.as13285.net) (Ping timeout: 189 seconds)
L377[19:17:10] ⇨ Joins: TPG24 (~ThePiGuy2@host-92-31-111-231.as13285.net)
L378[20:13:14] ⇨ Joins: ThePiGuy24 (~ThePiGuy2@host-92-31-111-231.as13285.net)
L379[20:13:36] ⇦ Quits: TPG24 (~ThePiGuy2@host-92-31-111-231.as13285.net) (Ping timeout: 195 seconds)
L380[23:02:37] ⇦ Parts: lunar_sam (c44a7f2987@jabberfr.org) ())
<<Prev Next>> Scroll to Top