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.
145 Comments - Last post 39 minutes ago by meneldur
113 Comments - Last post 2 hours ago by Adamdoodles
105 Comments - Last post 3 hours ago by Smectik
255 Comments - Last post 6 hours ago by ThePaladin
1,209 Comments - Last post 11 hours ago by MeguminShiro
47 Comments - Last post 12 hours ago by yush88
288 Comments - Last post 13 hours ago by devonrv
67 Comments - Last post 8 minutes ago by Gigant250
257 Comments - Last post 10 minutes ago by KaptainPotatoes
1,010 Comments - Last post 12 minutes ago by Lugum
7 Comments - Last post 13 minutes ago by Creative1989
207 Comments - Last post 15 minutes ago by hieeeen
65 Comments - Last post 17 minutes ago by ShroudOfLethe
47 Comments - Last post 20 minutes ago by Kingsajz
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.