What is custom javascript code?
Custom Code will allow you to extend Lumia Stream's functionality by adding conditions to what you want to happen. You can even make your own scenarios that trigger other commands/alerts with code.
Before we begin while being a coder helps, we will try to give as many examples for you to copy and paste so that you won't need to be a coder to do cool things. Let's begin
Open Lumia Stream and head to Commands
> Chat
then edit
or add a new command
that you want to activate javascript code on.
Next on the tabs at the top click on Custom Javascript
You'll see an input where you can put all the code that you copy from the sections below like this
tip
code blocks like the one below ๐ have a copy button on the top right corner click it then paste in Lumia stream
async function() {
// put your code inside here
// always make sure this is the last line in the code otherwise your computer may get slower due to memory leaks done();
}