I'm trying to check if a list variable contains a certain value, but it's not working and I'm getting no errors.
Code:
#add a value to the list
command /add <text>:
trigger:
add arg text to {list::*}
#check if a value is in the list
command /check <text>:
trigger:
if {list::*} contains arg text:
send "hi" to player