Advertisement
Alakazard12

Format

Apr 27th, 2014
147
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.10 KB | None | 0 0
  1. for i,v in pairs(fs.list("/")) do
  2.     if v ~= "format" then
  3.         pcall(function() fs.delete(v) end)
  4.     end
  5. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement