Pages:
Actions
  • #1 by saadsok on 08 Mar 2012
  • Hi Guys

    Currently using this to avoid a possible straight

    AND | fitting selections | cards | do not contain | in sequence

    But I would prefer to have a gap > 1, I found this in the manual

    "The variables card_1 and card_2 return the highest and lowest card of the selection"

    so assume it doesn't matter the order of the cards IE 10, 4 OR 4, 10 as 10 will stay card_1, hope I am right there.

    AND | fitting selections | cards | contain values | card_2+1 < card_1

    so 4h +1 =5 so anything bigger than 6 is ok, so the question is

    is card_2+1 < card_1

    correct, thanks in advance
  • #2 by Tim (WellDoneSoft) on 08 Mar 2012
  • May be this one is easier:
    AND Fitting Selection's Cards doesn't contain incomplete straight
  • #3 by saadsok on 08 Mar 2012
  • Not sure, I only have 2 cards in the Fitting selection so I'll have to take your word for it that it will be greater than 2.

    Not in sequence allows 3,5 or 3,6 etc I want to increase the gap to only allow 3,6 or 3,7 etc

    Will it?
  • #4 by Tim (WellDoneSoft) on 08 Mar 2012
  • Oh, I see. Then it's
    AND Trigger Expression {card_1 - card_2} is equal or less than 4
    right?
  • #5 by saadsok on 08 Mar 2012
  • Again, not sure, sorry bit dumb when it comes to maths. Shouldn't it be

    {card_1 - card_2} which is for example 10h minus 7c gives a gap of 3

    {card_1 - card_2} > 2

    The following combinations would be ok for me, 2,5 2,6 3,6 2,j etc gaps are 3 or more
    These would not be ok 2,4 3,5 gaps are 2 only
  • #6 by Tim (WellDoneSoft) on 08 Mar 2012
  • AND Trigger Expression {card_1 - card_2} is greater than 2
    ?
  • #7 by saadsok on 08 Mar 2012
  • yes, thanks again
Pages:
Actions