The compare value is any of the search operators.
In your case I think you want to use an regular expression match mode
Code:
template:"program:readstatus()#@#:t:~^read"
or an exact match mode
Code:
template:"program:readstatus()#@#:t:=read"
EDIT: As the documentation says: "The value is whatever you want. It can use the special operators described above for the various search types."