SHOW:
|
|
- or go back to the newest paste.
| 1 | --know what you do | |
| 2 | local input = ... | |
| 3 | if not input then return end | |
| 4 | local tmpFile = "/.tmp" | |
| 5 | local tmp=fs.open(tmpFile,"w") | |
| 6 | tmp.write(string.format([[print(tonumber(%s)~=nil and (%s) or "error")]],input,input)) | |
| 7 | tmp.close() | |
| 8 | shell.run("/.tmp")
| |
| 9 | shell.run("rm "..tmpFile) |