Advertisement
COOLGAMETUBEorginal

CheckCompatible

Aug 21st, 2015
166
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.32 KB | None | 0 0
  1. tArgs = {...}
  2.  
  3. if not WicowsTools then shell.run("AutoAPI reload") end
  4. if #tArgs < 1 then
  5.     error("Please insert fileLocation in param1")
  6. else
  7.     if not fs.exists(tArgs[1]) then
  8.         if tArgs[1] ~= "-setup__" then error("File not found!") end
  9.     else
  10.         WicowsTools.CheckCompatible(tArgs[1], false, term.current())
  11.     end
  12. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement