I would make something like that:
function count1() : returns the number of dice with a "1" value
function count2() : returns the number of dice with a "2" value
...
and so on
then:
if count1() > 0 and count2() > 0 and count3() > 0 and count4() > 0 then ...
Hope this helps.
function count1() : returns the number of dice with a "1" value
function count2() : returns the number of dice with a "2" value
...
and so on
then:
if count1() > 0 and count2() > 0 and count3() > 0 and count4() > 0 then ...
Hope this helps.