Advertisement
infiniteblock

Untitled

Jun 9th, 2020
207
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.21 KB | None | 0 0
  1.     local h = fs.open(update, "r")
  2.     local str = h.readAll()
  3. if string.match(str, "shutdown") then
  4.     print ("The word shutdown was found.")
  5. else
  6.     print ("The word shutdown was not found.")
  7.     h.close()
  8. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement