Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- TE_Type = "cofh_thermalexpansion_energycell"
- Mek_Type = "advanced_energy_cube"
- while true do
- term.clear()
- term.setCursorPos(1,1)
- cell = {}
- cell = peripheral.find(TE_Type)
- if cell == nil then
- cell = peripheral.find(Mek_Type)
- end
- if cell == nil then
- print("Error: No cell attached. Please attach a cell and connect it to the computer with a wired modem.")
- else
- print("No error!")
- end
- sleep(2)
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement