Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local tArgs = {...}
- local numOfFloors
- if #tArgs ~= 1 then
- print("Required number of floors as an argument")
- return
- end
- numOfFloors = tArgs[1]
- local file = fs.open("numOfFloors", "w")
- file.write(textutils.serialize(numOfFloors))
- file.close()
- os.reboot()
Advertisement
Add Comment
Please, Sign In to add comment