Advertisement
LDDestroier

nsh server hoster

Apr 23rd, 2015
301
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.18 KB | None | 0 0
  1. nshURL = nil
  2. if nshURL == nil then
  3.     nshURL = "pc" .. os.getComputerID()
  4. end
  5. function os.shutdown()
  6.     term.clear()
  7.     term.setCursorPos(1,1)
  8. end
  9.  
  10. shell.run("nsh host 0 0 " .. nshURL)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement