Set in-game variable to script value

How to set an variable to script value
The control variable command has a script option where you can enter any script code.
Ok, thanks!
Ok, thanks!
Unexpected token error

EDIT: I put ':' instead of '/'

Original thread: https://forums.rpgmakerweb.com/threads/set-in-game-variable-to-script-value.94146/