diff options
author | ubq323 <ubq323@ubq323.website> | 2022-12-29 19:39:36 +0000 |
---|---|---|
committer | ubq323 <ubq323@ubq323.website> | 2022-12-29 19:39:36 +0000 |
commit | b58e3f718b9526473773b5e3e6cb2a801386f1b3 (patch) | |
tree | d645c71d09cc29372927ebe1e738559d92cd4cfc | |
parent | ad0097e83e0b03e4006e74adbdd0331a5425e659 (diff) |
shop
-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) |