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!

8 years ago

Comment has been collapsed.

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

8 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')

8 years ago
Permalink

Comment has been collapsed.

That's perfect, thanks a lot!

8 years ago
Permalink

Comment has been collapsed.

Closed 8 years ago by PsychoApeMan.