Compilation = 1 based on string content possible?

See the documentation on scripting functions:

$contains would probably be $strstr()
You would need something like
$ifgreater($strstr(%mediatype%,Compilation),0,1,)