Unfortunately, you can only compare a call attribute's value to another string value. You cannot compare attribute to attribute.
'walaboutsd' has got it right. A simple subroutine can be used to compare 2 attributes. You can then return a result back (assigned to another attribute) that can be used in Attendant.