Fandom

The Tekkit Wiki

Tutorial/Timer

< Tutorial

874pages on
this wiki
Add New Page
Talk0 Share

This is a timer script to do on a computer attached to a Monitor, the only way to stop it is unfortunately Control+T, and if anyone could find a better way please update the page. This is one of my earliest scripts so please post also if there is a faster way of doing it.

--Made by YoshiLucario

minute = 00
hour = 00
second = 00

do while 0 < 10 do do
 if second <= 59 then
 term.clear()
 term.setCursorPos(7, 3)
 write(hour..":"..minute..":"..second)
 second = second + 1
 sleep(1)
 end
  else
  second = 0
  if minute <= 59 then
  minute = minute + 1
   else
   minute = 0
   if hour <= 23 then
   hour = hour + 1
    else
    hour = 0
    end
   end
  end
 end
end
end
end

Ad blocker interference detected!


Wikia is a free-to-use site that makes money from advertising. We have a modified experience for viewers using ad blockers

Wikia is not accessible if you’ve made further modifications. Remove the custom ad blocker rule(s) and the page will load as expected.