<<Prev Next>> Scroll to Bottom
Stuff goes here
L1[00:02:36]
<ThePiGuy24>
%lua
L2[00:02:36]
<ThePiGuy24>
typochance=0.2
nk={q="12wsa",w="123edsaq",e="234rfdsw",r="345tgfde",t="456yhgfr",y="567ujhgt",u="678ikjhy",i="789olkju",o="890p;lki",p="90-[';lo",a="qwsxz",s="qwedcxza",d="werfvcxs",f="ertgbvcd",g="rtyhnbvf",h="yujmnbgt",j="yuik,mnh",k="uiol.,mj",l="iop;/.,k",[";"]="p['/.",z="asx",x="zsdc",c="xdfv",v="cfgb",b="vghn",n="bghjm",m="nhjk,",[","]="mjkl.",["."]=",kl;/"}
function tyop(text) local ot="" for c=1,#text do local ch
= text:sub(c,c) if
L3[00:02:36]
<ThePiGuy24>
math.random()<typochance then r=math.random() if r<1/3 then
ot=ot..ch..ch elseif r<2/3 then else if nk[ch] then local
ri=math.floor(math.random()*#nk[ch])+1 ot=ot..nk[ch]:sub(ri,ri)
else ot=ot..ch end end else ot=ot..ch end end return ot end
L4[00:02:46]
<ThePiGuy24>
heh, that fixes it
L5[00:02:59]
<ThePiGuy24>
%lua tyop("this is a test")
L6[00:02:59] <MichiBot> main:1: attempt to
call global 'tyop' (a nil value)
L7[00:03:09]
<ThePiGuy24>
ah shit
L8[00:03:14]
<Ocawesome101> tip: modify existing
table
L9[00:03:38]
<ThePiGuy24>
i need sleep
L10[00:05:45] <Michiyo> You... realize why
that fails right?
L12[00:06:47] <Michiyo> your lines are too
long, so they get split, which... doesn't work
L13[00:07:00]
<Saghetti>
mfw
L14[08:26:16] ⇨
Joins: magisterially
(magisterially!~cooldude1@36.90.122.166)
L15[13:53:01]
<ThePiGuy24>
ah
L16[14:43:54] ⇦
Quits: magisterially (magisterially!~cooldude1@36.90.122.166)
(Remote host closed the connection)
L17[14:46:15] <Michiyo> Also... underscores
get fucked by the formatting stuff from Discord.