AFAIK those "or"s should be "and"s if I am understanding it correctly.
Comment has been collapsed.
Now that I take another look yea "or" should be fine too. The structure of the rule got me confused for a minute.
Comment has been collapsed.
I think you have the evaluation backwards? Try "13230 in owned_games", etc.
Also, the "or" operators are fine for what you're trying to do.
Comment has been collapsed.
Another example sometimes usefull: last_multiple_win <= date_modify(date('now'),'-1 years') and pass_activated_rule == true and trade_ban == false and community_ban == false
With the first part you allow people with multiple wins except if the multiple wins was this last year
Comment has been collapsed.
It makes sense it that rule tho. Because if I understand correctly you don't want anyone who own any of the games to get the link. Therefore if someone only owns 13230 for example it will go:
False and true and true and true and true = false
and if they dont own 13230:
true and true and true and true and true = true
With or you would get true with both. That what got me confused in my 1st comment in the first place.
Comment has been collapsed.
Either "not (13230 in owned_games or 13250 in owned_games or 13200 in owned_games or 13210 in owned_games or 13240 in owned_games)" or "13230 not in owned_games and 13250 not in owned_games and 13200 not in owned_games and 13210 not in owned_games and 13240 not in owned_games" should work. AppID must be in front.
Comment has been collapsed.
If you're unsure about a custom rule you can ask in this thread and the dev of SGTools, Knsys will help you out. :-)
Comment has been collapsed.
It's the official SGTools thread on SG where you can ask and get help from the dev and users and where you also can report invalid entries. :-)
Comment has been collapsed.
This is not a bug report of SG neither suggestion to SG and SG is not affiliated with SGTools.
Comment has been collapsed.
1,083 Comments - Last post 2 minutes ago by HelpfulThought
407 Comments - Last post 11 minutes ago by Vodeni
200 Comments - Last post 14 minutes ago by Vodeni
16,598 Comments - Last post 18 minutes ago by WaxWorm
157 Comments - Last post 29 minutes ago by OneManArmyStar
209 Comments - Last post 33 minutes ago by ComNguoi
31 Comments - Last post 2 hours ago by OneManArmyStar
43 Comments - Last post 49 seconds ago by Vasharal
16 Comments - Last post 1 minute ago by AmikoNovich
2,842 Comments - Last post 16 minutes ago by JMM72
206 Comments - Last post 17 minutes ago by softbearcas
28 Comments - Last post 26 minutes ago by VahidSlayerOfAll
17,324 Comments - Last post 27 minutes ago by Warriot
217 Comments - Last post 32 minutes ago by Zipsy
Dear friends, i am having a problem setting up a giveaway using custom rules on sgtools.
I want to giveaway the UNREAL DEAL PACK, which includes 5 games.
http://store.steampowered.com/sub/683/
I made the GA here in SG and then I went to the SGtools,and created a custom rule on the GA. And I gave out the sgtools link.
i found the IDs here https://steamdb.info/search/?a=app&q=unreal
this is the custom rule:
not (owned_games in 13230 or owned_games in 13250 or owned_games in 13200 or owned_games in 13210 or owned_games in 13240)
in order to prevent someone to enter if having at least one of the 5 games, but i might failed to do that,because i found out on the SGtools that users who has at least one of that games can see the GA link.
Can you please help me in order to setup the rule correctly and prevent such entries?
Thank you in advance.
Comment has been collapsed.