Advertisement
guitarplayer616

filter

Dec 19th, 2016
262
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.19 KB | None | 0 0
  1. local sArgs = ...
  2. local h=fs.open(sArgs,"r")
  3.  
  4. local string = h.readAll()
  5.  
  6. local string = string:gsub("(%))","")
  7.  
  8. h.close()
  9.  
  10. local f = fs.open(sArgs,"w")
  11. f.write(string)
  12. f.close()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement