Advertisement
Guest User

Untitled

a guest
Oct 15th, 2013
996
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.93 KB | None | 0 0
  1. clearscreen.
  2. set exit to 0.
  3. set index to 0.
  4. set selection to 0.
  5. set printflag to 1.
  6. if ag9 = "True" { toggle ag9. }.
  7. if ag8 = "True" { toggle ag8. }.
  8. if ag7 = "True" { toggle ag7. }.
  9.  
  10. set splash to 1.
  11. if splash = 1 { run SC1. }.
  12.  
  13. until exit = 1
  14. {
  15. if ag9 = "True" { set index to index - 1. set printflag to 1. toggle ag9. }.
  16. if ag8 = "True" { set index to index + 1. set printflag to 1. toggle ag8. }.
  17. if index < 0 { set index to 4. }.
  18. if index > 4 { set index to 0. }.
  19. if ag7 = "True"
  20. {
  21. toggle ag7.
  22. if index = 0 { if status = "PRELAUNCH" { run a1. }. set printflag to 1. }.
  23. if index = 1 { if status = "ORBITING" { run Transfer. }. set printflag to 1. }.
  24. if index = 2 { set printflag to 1. }.
  25. if index = 3 { if status = "ORBITING" OR status = "FLYING" { run lp. }. set printflag to 1. }.
  26. if index = 4 { set exit to 1. }.
  27. }.
  28. if printflag = 1
  29. {
  30. clearscreen.
  31. print "Welcome to Space Computer v1.0" at (10,0).
  32. print "--------------------------------------------------" at (0,1).
  33. print "Select a program from the list." at (10,2).
  34. print "Use action group 9 to select up." at (9,4).
  35. print "Use action group 8 to select down." at (8,6).
  36. print "Use action group 7 to confirm your selection." at (3,8).
  37. print "--------------------------------------------------" at (0,9).
  38. print "Launch to Orbit" at (18,12).
  39. print "Alter Orbit" at (20,14).
  40. print "Execute Node" at (19,16).
  41. print "Land From Orbit" at (18,18).
  42. print "EXIT" at (23,20).
  43. if index = 0 { print "======>" at (7,12). print "<======" at (36,12). }.
  44. if index = 1 { print "======>" at (7,14). print "<======" at (36,14). }.
  45. if index = 2 { print "======>" at (7,16). print "<======" at (36,16). }.
  46. if index = 3 { print "======>" at (7,18). print "<======" at (36,18). }.
  47. if index = 4 { print "======>" at (7,20). print "<======" at (36,20). }.
  48. set printflag to 0.
  49. }.
  50. }.
  51. clearscreen.
  52. print "Have A Nice Day!".
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement