diff options
-rw-r--r-- | shop.lua | 11 |
1 files changed, 9 insertions, 2 deletions
@@ -1,3 +1,10 @@ -sres = http.post("https://krist.dev/ws/start","").readAll() +sres =textutils.unserializeJSON( http.post("https://krist.dev/ws/start","").readAll()) +assert(sres.ok,"not ok") +wsurl = sres.url + + + +mtop = peripheral.wrap"top" +mtop.write("DIAMONDS 5kst each") + -print(sres) |