Indie Dev

Hello Guest!. Register a free account today to become a member! Once signed in, you'll be able to participate on this site by adding your own topics and posts, sell your games, upload content, as well as connect with other members through your own private inbox!

Conditional Branches in Script

jaye

Villager
Xy$
0.00
I am trying to write my own plugin, but I can't figure out how to correctly write a two conditional script.
For example:

if (item id equals this and switch is on) {
then do this
}

Does anyone know how to properly script this statement? Thank you in advance!
 
Top