support '<chosen> discards <amount> cards' pattern
replace groovy code with card script
support discarding at random pattern
replace groovy code with card script
correct name of named group, correct check for 'at random'
fix script bugs