Hey y'all! So I'm trying to make a common event menu that adds an item to the list when a specific switch is turned on. I'm using visustella's common event menu.
This is the very simple psuedo code I wrote for this
And then this is the place in common event menu's plugin command to add the JS. I'm pretty sure there's a JS way to check if a switch is on, although I don't know if I have to declare variables? Any help would be appreciated!
This is the very simple psuedo code I wrote for this
And then this is the place in common event menu's plugin command to add the JS. I'm pretty sure there's a JS way to check if a switch is on, although I don't know if I have to declare variables? Any help would be appreciated!