Hi helpful people!

So, I wanted to add a custom rule so only vac bans for the past year wouldn't be accepted. I tried the rule "[2015-08-27] last_vac_ban" and SGTools didn't like it.

Rather than messing about trying to fix the formatting and stopping people from entering my train, I thought it was more sensible just to come here and ask for help.

How should the rule be written?

Thanks!

7 years ago

Comment has been collapsed.

In my opinion it doesn´t matter when you got VACed
I know this isnt helping xD

7 years ago
Permalink

Comment has been collapsed.

you would use this for no VAC bans in the last 2 years:

last_vac_ban <= date_modify(date('now'), '-2 years')

7 years ago
Permalink

Comment has been collapsed.

That's perfect, thanks a lot!

7 years ago
Permalink

Comment has been collapsed.

Closed 7 years ago by PsychoApeMan.