Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local tArg = {...}
- local w, h = term.getSize()
- local StoredLists = {}
- function DrawTab()
- paintutils.drawFilledBox(1,2,w, h - 1, colors.white)
- paintutils.drawBox(1,1,w,1,colors.lightGray)
- end
- function RunList(I)
- local Result
- for i = 1, #StoredLists[I] do
- local Item = StoredLists[I][i][1]
- if Item == "check" then
- if StoredLists[I][i][3] == "Eq" then
- if StoredLists[I][i][2] == StoredLists[I][i][4] then Result = true else Result = false end
- end
- elseif Item == "set" then
- Vars[StoredLists[I][i][2]] = StoredLists[I][i][3]
- end
- end
- return Result
- end
Add Comment
Please, Sign In to add comment