Quant Jan 15th, 2016 (edited) 120 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
- local b,bb='',''
- while true do
- local _,_,_,_,rs=e.pull(3,'redstone_changed')
- if not rs then break end
- if rs>0 then
- if rs==12 then
- bb=bb..(string.char(tonumber(b))) b=''
- if arg then
- f=io.open(arg,'w') f:write(bb) f:flush()f:close()
- else print(bb)
RAW Paste Data