Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- strg="String"
- int=1
- bool=true
- side="back"
- color=colors.green
- hex=0xF2B233
- dataType={strg,int,bool,side,dataType,color,hex}
- while true do
- p=peripheral.wrap("back")
- if p~=nil then
- pName=peripheral.getType("back")
- pMethods=peripheral.getMethods("back")
- for i=1, #pMethods do
- notWorking=true
- try=1
- while notWorking do
- fp=fs.open(pName,"a")
- end
- end
- end
- end
Add Comment
Please, Sign In to add comment