add %fake scry to jael docs

This commit is contained in:
Tinnus Napbus 2023-03-28 20:59:35 +13:00
parent fb9da9bca9
commit d53df92f0b

View File

@ -27,6 +27,27 @@ A `%code` scry gets the current web login code. It takes your ship name as its `
~lidlut-tabwed-pillex-ridrup
```
## `%fake`
A `%fake` scry checks whether the current ship is fake (a development ship
booted with the `-F` option). The type returned is a `?`.
#### Example
On a fake `~zod`:
```
> .^(? %j /=fake=)
%.y
```
On a real planet:
```
> .^(? %j /=fake=)
%.n
```
## `%life`
A `%life` scry gets the current `life` (key revision number) of a ship if known, otherwise it crashes. It takes a ship as its `path` and the type returned is a `@ud`.