What you're doing is telling itemiconnect to set its value to true. Use the == operator to compare whether an item is true or false, or simply place itemiconnect into the parentheticals and it will check for you.