Guest User

Untitled

a guest
Jun 24th, 2018
107
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.59 KB | None | 0 0
  1. local rawree = io.open("Master.cfg", "w")
  2.  
  3. function AskQuestion(question, writeO)
  4.  
  5. print(question)
  6. rawre = io.read()
  7. if writeO then rawree:write(rawre.."\n") end
  8.  
  9. return rawre
  10.  
  11. end
  12.  
  13. print ("Enter Colors")
  14.  
  15. TemP = 0
  16. temp = " "
  17.  
  18. while temp ~= "exit" do
  19.  
  20. if temp ~= "exit" then
  21.  
  22. TemP = colors.combine(colors[temp], TemP)
  23.  
  24. end
  25.  
  26. print(TemP)
  27. temp = AskQuestion("Color Pl0x",false)
  28.  
  29. end
  30. print(TemP)
  31. rawree:write(TemP.."\n")
  32.  
  33. AskQuestion("Which side is the supplier on?", true)
  34. AskQuestion("Which side is the counter on?", true)
  35. rawree:close()
Add Comment
Please, Sign In to add comment