From b8b3a5ebdc63d6594ee78275612b2dce1a48aae9 Mon Sep 17 00:00:00 2001 From: gnembon Date: Mon, 15 Jun 2020 18:34:38 -0300 Subject: [PATCH] docs --- docs/scarpet/Full.md | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/docs/scarpet/Full.md b/docs/scarpet/Full.md index d818056e..7142f19d 100644 --- a/docs/scarpet/Full.md +++ b/docs/scarpet/Full.md @@ -882,10 +882,13 @@ Thou shall not sample from noise changing seed frequently. Scarpet will keep tra used for sampling providing similar speed comparing to the default seed of `0`. In case the app engine uses more than 256 seeds at the same time, switching between them can get much more expensive. -### `print(expr)` +### `print(expr)`, `print(player, expr)` prints the value of the expression to chat. Passes the result of the argument to the output unchanged, -so `print`-statements can be weaved in code to debug programming issues +so `print`-statements can be weaved in code to debug programming issues. By default it uses the same communication +channels that most vanilla commands are using. + +In case player is directly specified, it only sends the message to that player, like `tell` command.
 print('foo') => results in foo, prints: foo