Advertisement
Guest User

Terminal

a guest
Jul 17th, 2013
74
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.22 KB | None | 0 0
  1. print("Programs:")
  2. shell.run("programs")
  3. write("What Program Would You Like To Run: ")
  4. input = read()
  5. if input = 'powertoggle' then
  6. shell.run("powertoggle")
  7. else
  8. term.clear()
  9. term.setCursorPos(1, 1)
  10. shell.run("Terminal")
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement