mirror of
https://github.com/tloncorp/landscape.git
synced 2024-12-21 07:41:56 +03:00
15 lines
390 B
Plaintext
15 lines
390 B
Plaintext
/- spider
|
|
/+ *strandio
|
|
=, strand=strand:spider
|
|
=, strand-fail=strand-fail:libstrand:spider
|
|
^- thread:spider
|
|
|= arg=vase
|
|
=/ m (strand ,vase)
|
|
^- form:m
|
|
=+ !<(vic=cord arg)
|
|
;< our=@p bind:m get-our
|
|
;< =json bind:m (fetch-json "{(trip vic)}bait/who")
|
|
=/ =ship (slav %p (so:dejs:format json))
|
|
;< ~ bind:m (poke [our %reel] reel-command+!>([%set-ship ship]))
|
|
(pure:m !>(~))
|