whenIReceive

Creates a 'when I receive' hat block.

Parameters

broadcast

The broadcast message that triggers the script.

block

The script to run.