This should be 'a_info[item->name1].effect != activation' (remove the leading !)