@SglCdnMade I just noticed the 6.2 version comment. Change that line to this:
var %a $r(1,52), %b $r(1,52), %adata $hget(PokerDeck, [ %a ] ), %bdata $hget(PokerDeck, [ %b ] )
Should work fine then :)