Pringus
Member
This page: https://wiki.sinusbot.com/en:guides:features:scripts:variables
I'm trying to understand how to use multiple-entry variables such as "tracks" and "strings."
The user enters their information, and the items are separated into different blocks.
Can I access these items as an array? Are they objects?
Pseudo-code example:
Would this work? The documentation doesn't have any examples of this.
Thanks
I'm trying to understand how to use multiple-entry variables such as "tracks" and "strings."
The user enters their information, and the items are separated into different blocks.
Can I access these items as an array? Are they objects?
Pseudo-code example:
Code:
vars: [
name:"tracklist",
type:"tracks"
]
media.play(config.tracklist[0]);
Would this work? The documentation doesn't have any examples of this.
Thanks