<<Prev Next>> Scroll to Bottom
Stuff goes here
L1[08:49:21]
<Saghetti>
%lua temp='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;/"}'
L2[08:49:21] <MichiBot> main:1: syntax error
near 'uiol'
L3[08:49:21]
<Saghetti>
%lua load(temp..'function tyop(text) local ot="" for
c=1,#text do local ch = text:sub(c,c) if
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[08:49:22] <MichiBot> main:1: attempt to
concatenate global 'temp' (a nil value)
L5[08:51:19]
<Saghetti>
%lua
L6[08:51:20]
<Saghetti>
string.chance=20;string.maps={q={1,2,'w','s','a'},w={1,2,3,'e','d','s','a','q'},e={2,3,4,'r','f','d','s','w'},r={3,4,5,'t','g','f','d','e'},t={4,5,6,'y','h','g','f','r'},y={5,6,7,'u','j','h','g','t'},u={6,7,8,'i','k','j','h','y'},i={7,8,9,'o','l','k','j','u'},o={8,9,0,'p',';','l','k','i'},p={9,0,'-','[',''',';','l','o'},a={'q','w','s','x','z'},s={'q','w','e','d','c','x','z','a'},d={'w','e','r','f','v','c','x','s'},f={'e','r','t','g
L7[08:51:20]
<Saghetti>
d'},g={'r','t','y','h','n','b','v','f'},h={'y','u','j','m','n','b','g','t'},j={'y','u','i','k',',','m','n','h'},k={'u','i','o','l','.',',','m','j'},l={'i','o','p',';','/','.',',','k'},[";"]={'p','[',''','/','.'},z={'a','z','x'},x={'z','s','d','c'},c={'x','d','v','f'},v={'c','f','g','b'},b={'v','g','h','n'},n={'b','g','h','j','m'},m={'n','j','k','h',','},[',']={'m','j','k','l','.'},['.']={',','k','l',';','/'}}function
string.typo(a)
L8[08:51:20]
<Saghetti> c
in a:gmatch(".")do local d=math.random(1,100)if
d<=string.chance then local e=math.random(1,3)if e==1 then
b=b..c..c elseif e==2 then b=b elseif e==3 then if not
string.maps[c]then b=b..c else local f=string.maps[c]local
g=math.random(1,#f)b=b..f[g]end end else b=b..c end end;return b
end
L9[08:51:37]
<Saghetti>
%lua string.typo("Hello!")
L10[08:51:38] <MichiBot> ello!!
L11[08:52:34]
<Saghetti>
%lua oldprint=print
L12[08:53:00]
<Saghetti>
%lua function print(s) oldprint(string.typo(s)) end
L13[08:53:06]
<Saghetti>
%lua print("Hello!")
L14[08:53:07] <MichiBot> Hello!
L15[08:55:58]
<Saghetti>
%lua data
L17[09:00:19]
<Ocawesome101> %lua print = oldprint
L18[09:00:25]
<Saghetti>
dangit
L19[09:00:32]
<Ocawesome101> >:D
L20[09:00:34]
<Saghetti>
why you gotta ruin the fun
L21[09:02:08] ⇨
Joins: Ocawesome101
(Ocawesome101!~ocawesome@38.65.250.200)
L22[09:02:26] <Ocawesome101> %lua
adv("look")
L23[09:02:26] <MichiBot> You are standing
in a pine forest. | It is daytime. | There is a pig and a chicken
here. | There are trees here.
L24[09:02:34] <Ocawesome101> %lua adv
"hit pig"
L25[09:02:34] <MichiBot> The pig is injured
by your blow.
L26[09:02:48]
<Saghetti>
how did that work?
L27[09:02:49] <Ocawesome101> %lua adv
"hit pig"
L28[09:02:49] <MichiBot> The pig dies. |
The pig dropped some pork.
L29[09:02:51]
<Saghetti>
do you not need parenthesis?
L30[09:03:02] <Ocawesome101> not for a
single string or table argument
L31[09:03:06]
<Saghetti>
what is this wizardry
L32[09:03:09]
<ThePiGuy24>
i do not understand the lua
L33[09:03:12] <Ocawesome101> %lua
adv"pick up pork"
L34[09:03:12] <MichiBot> Taken.
L35[09:03:20] <Ocawesome101> this thing is
too smart lmao
L36[09:03:29] <Ocawesome101> %lua
adv"hit chicken"
L37[09:03:29] <MichiBot> The chicken is
injured by your blow.
L38[09:03:31] <Ocawesome101> %lua
adv"hit chicken"
L39[09:03:31] <MichiBot> The chicken is
injured by your blow.
L40[09:03:36] <Ocawesome101> %lua
adv"hit chicken"
L41[09:03:36] <MichiBot> The chicken is
injured by your blow.
L42[09:03:39] <Ocawesome101> %lua
adv"hit chicken"
L43[09:03:40] <MichiBot> The chicken is
injured by your blow.
L44[09:03:42] <Ocawesome101> %lua
adv"hit chicken"
L45[09:03:42] <MichiBot> The chicken is
injured by your blow.
L46[09:03:50] <Ocawesome101> %lua adv
"kill chicken"
L47[09:03:50] <MichiBot> The chicken dies.
| The chicken dropped some chicken.
L48[09:03:53]
<Saghetti>
the invincible chicken
L49[09:03:59] <Ocawesome101> %lua
adv"pick up chicken"
L50[09:03:59] <MichiBot> Taken.
L51[09:04:08] <Ocawesome101> %lua
adv'look'
L52[09:04:08] <MichiBot> You are standing
in a pine forest. | It is daytime. | There are trees here.
L53[09:04:09]
<Saghetti>
%lua adv"inventory"
L54[09:04:10] <MichiBot> You are carrying
some wood, some pork, no tea, some chicken and some sticks.
L55[09:04:15]
<ThePiGuy24>
%lua adv("punch chicken")
L56[09:04:16] <MichiBot> You don't see a
chicken here.
L57[09:04:17] <Ocawesome101> "no
tea"
L58[09:04:25] <Ocawesome101> > no
tea
L59[09:04:27] <Ocawesome101> lmao
L60[09:04:34]
<Saghetti>
%lua drop"no tea"
L61[09:04:34] <MichiBot> main:1: attempt to
call global 'drop' (a nil value)
L62[09:04:36] <Ocawesome101> %lua adv'punch
tree'
L63[09:04:36] <MichiBot> The tree breaks
into blocks of wood, which you pick up.
L64[09:04:41]
<Saghetti>
lua adv"drop no tea"
L65[09:04:54] <Ocawesome101> %lua adv'punch
tree'
L66[09:04:54] <MichiBot> The tree breaks
into blocks of wood, which you pick up.
L67[09:05:03] <Ocawesome101> %lua
adv'inventory'
L68[09:05:03] <MichiBot> You are carrying
some wood, some pork, no tea, some chicken and some sticks.
L69[09:05:05]
<ThePiGuy24>
%lua adv(print)
L70[09:05:16]
<Saghetti>
ok
L71[09:05:17]
<ThePiGuy24>
shame
L72[09:05:18] <Ocawesome101> %lua
adv'craft'
L73[09:05:28]
<Saghetti>
%lua adv()
L74[09:05:32] <Ocawesome101> %lua adv'make
a crafting table'
L75[09:05:43] <Ocawesome101> %lua
adv'inventory'
L76[09:05:47] <Ocawesome101> nooooooo
L77[09:05:53]
<Saghetti>
%lua coroutine.resume(adventure.coro)
L78[09:05:54] <MichiBot> false, cannot
resume dead coroutine
L79[09:06:02]
<Saghetti>
you monster
L80[09:06:04]
<Saghetti>
you killed it
L81[09:06:05] <Ocawesome101> ono
L82[09:06:05]
<Saghetti>
>:(
L83[09:06:11]
<ThePiGuy24>
did passing it a function kill it?
L84[09:06:12]
<Saghetti>
%lua startAdventure()
L85[09:06:13] <MichiBot> You are standing
in frozen tundra. | It is daytime.
L86[09:06:13]
<Saghetti>
yea
L87[09:06:14] <Ocawesome101> %lua
startGame()
L88[09:06:14] <MichiBot> main:1: attempt to
call global 'startGame' (a nil value)
L89[09:06:20]
<Saghetti>
it only expects strings
L90[09:06:25] <Ocawesome101> %lua adv'go
north'
L91[09:06:25] <MichiBot> You are standing
knee deep in a swamp. | It is daytime. | There are trees
here.
L92[09:06:28]
<Saghetti>
gotta add some error handling i guess
L93[09:06:30] <Ocawesome101> add some
argchecking
L94[09:06:32]
<ThePiGuy24>
always sanitize your inputs
L95[09:06:35] <Ocawesome101> %lua adv'go
north'
L96[09:06:36] <MichiBot> You are standing
knee deep in a swamp. | It is daytime. | There are trees
here.
L97[09:06:39] <Ocawesome101> %lua adv'go
north'
L98[09:06:39] <MichiBot> You are standing
in a desert. | It is daytime. | There is a sheep here.
L99[09:06:43]
<Saghetti> i
did this fast and hacky :P
L100[09:06:53] <Ocawesome101> %lua
adv'kill sheep'
L101[09:06:53] <MichiBot> The sheep is
injured by your blow. | The sheep dropped some wool.
L102[09:07:04] <Ocawesome101> %lua
adv'pick up wool'
L103[09:07:04] <MichiBot> Taken.
L104[09:07:09]
<ThePiGuy24>
%lua adv(existnt)
L105[09:07:09] <MichiBot> Speak up.
L106[09:07:14] <Ocawesome101> %lua
adv'inventory'
L107[09:07:15]
<ThePiGuy24>
no
L108[09:07:16] <MichiBot> You are carrying
some wool and no tea.
L109[09:07:24] <Ocawesome101> %lua adv'go
west'
L110[09:07:24] <MichiBot> (life is
peaceful there) | You are standing knee deep in a swamp. | It is
daytime. | There is a cow and a sheep here. | There are trees
here.
L111[09:07:32]
<ThePiGuy24>
%lua adv(true)
L112[09:07:37] <Ocawesome101> %lua adv'hit
sheep'
L113[09:07:42] <Ocawesome101> you killed
it
L114[09:07:45] <Ocawesome101> you
monster
L115[09:07:53] <Ocawesome101> %lua
startAdventure()
L116[09:07:53] <MichiBot> You are standing
in a desert. | It is daytime. | There is a cow here.
L117[09:08:05] <Ocawesome101> yknow what
I'll just go play that on CraftOS
L118[09:08:05] ⇦
Quits: Ocawesome101 (Ocawesome101!~ocawesome@38.65.250.200) (Quit:
A Konversation user has left the chat.)
L119[09:08:50]
<Saghetti>
%ignore ThePiGuy24
L120[09:08:55]
<Saghetti>
:((((((((((((
L121[09:08:59]
<Saghetti>
noooooo
L122[09:09:06]
<Saghetti> i
spent so long porting that to michibot
L123[09:10:18]
<ThePiGuy24>
rip
L124[20:50:14]
⇨ Joins: Ocawesome101
(Ocawesome101!~ocawesome@38.65.250.58)
L125[23:44:00] ⇦
Quits: Ocawesome101 (Ocawesome101!~ocawesome@38.65.250.58) (Ping
timeout: 189 seconds)