Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local tArgs = {...}
- for a,b in pairs (tArgs) do
- numberInput = b
- end
- stackNumber = math.floor(numberInput/64)
- remainder = numberInput - (stackNumber*64)
- solution = "You'll need " ..tostring(stackNumber).. " stack(s) and " ..tostring(remainder).. " extra."
- term.write(solution)
Advertisement
Add Comment
Please, Sign In to add comment