Piecewise

Build chat bots with blocks

set key (key) to (value) in table (table)

In the toolbox

Set the key in a table to a value. NOTE: You should only insert CONSTANTS into tables (i.e. channel IDs, user IDs as opposed to channels and users).

Parameters

Parameter name Parameter type Required? Description
key String The key to set.
value String OR Boolean OR Number OR Array OR table The value to set.
table table The table to modify.

Output

void - This is a statement with no outputs