SHOW:
|
|
- or go back to the newest paste.
1 | -- Scripted by Rickydaan | |
2 | ||
3 | term.clear() | |
4 | term.setCursorPos(1,1) | |
5 | ||
6 | print("Site: (DONT PUT HTTP://WWW)") | |
7 | answer = read() | |
8 | ||
9 | site = http.get("htto://www."..answer) | |
10 | content = site:readAll() | |
11 | print("Save or show the site script") | |
12 | answertwo = read() | |
13 | if answertwo == "save" then | |
14 | - | print("To what file? (Dont put ANY / in it) (Auto adds .site infront) |
14 | + | print("To what file? (Dont put ANY / in it) (Auto adds .site infront)") |
15 | answerfile = read() | |
16 | file = io.open("site."..answerfile, "w") | |
17 | file : write(content) | |
18 | file : close() | |
19 | print("File saved in site."..answerfile) | |
20 | ||
21 | elseif answer == "show" | |
22 | - | textutils.slowPrint(content) |
22 | + | textutils.slowPrint(content") |
23 | else | |
24 | print("Case Sensitive....") | |
25 | end |