Marlingaming

CC Tweaked CCSPS 20 - Application Host

Feb 18th, 2022 (edited)
72
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.61 KB | None | 0 0
  1. local tArg = {...}
  2. local w, h = term.getSize()
  3. local StoredLists = {}
  4.  
  5. function DrawTab()
  6. paintutils.drawFilledBox(1,2,w, h - 1, colors.white)
  7. paintutils.drawBox(1,1,w,1,colors.lightGray)
  8. end
  9.  
  10. function RunList(I)
  11. local Result
  12. for i = 1, #StoredLists[I] do
  13. local Item = StoredLists[I][i][1]
  14. if Item == "check" then
  15. if StoredLists[I][i][3] == "Eq" then
  16. if StoredLists[I][i][2] == StoredLists[I][i][4] then Result = true else Result = false end
  17. end
  18. elseif Item == "set" then
  19. Vars[StoredLists[I][i][2]] = StoredLists[I][i][3]
  20. end
  21. end
  22. return Result
  23. end
Add Comment
Please, Sign In to add comment