ULX

Author Topic: trial moderator ban times  (Read 1869 times)

0 Members and 3 Guests are viewing this topic.

Offline Desire

  • Jr. Member
  • **
  • Posts: 51
  • Karma: -4
trial moderator ban times
« on: November 06, 2015, 06:02:39 PM »
I'm trying to make it so that trial moderators can only ban for 1 hour, why isn't this working?

ulx groupallow trialmoderator "ulx voteban" "* 1:60m"

Offline Caustic Soda-Senpai

  • Sr. Member
  • ****
  • Posts: 469
  • Karma: 54
  • <Insert something clever here>
    • Steam Page
Re: trial moderator ban times
« Reply #1 on: November 06, 2015, 08:18:54 PM »
Because the command line doesn't make any sense..
Once you get to know me, you'll find you'll have never met me at all.

Offline Desire

  • Jr. Member
  • **
  • Posts: 51
  • Karma: -4
Re: trial moderator ban times
« Reply #2 on: November 06, 2015, 08:23:23 PM »
What should it be?

Offline Bytewave

  • Respected Community Member
  • Hero Member
  • *****
  • Posts: 718
  • Karma: 116
  • :)
    • My Homepage
Re: trial moderator ban times
« Reply #3 on: November 06, 2015, 08:23:33 PM »
You seem to have confused the syntax for immunity. See here.
Code: [Select]
ulx groupallow trialmoderator "ulx voteban" "* 1~60"The tilde (~) operator is a range operator, which means they can only ban with durations ranging from 1 to 60 minutes.
bw81@ulysses-forums ~ % whoami
Homepage

Offline Desire

  • Jr. Member
  • **
  • Posts: 51
  • Karma: -4
Re: trial moderator ban times
« Reply #4 on: November 06, 2015, 08:33:15 PM »
am I able to make it so that they can only ban people below their rank?

Offline Bytewave

  • Respected Community Member
  • Hero Member
  • *****
  • Posts: 718
  • Karma: 116
  • :)
    • My Homepage
Re: trial moderator ban times
« Reply #5 on: November 06, 2015, 08:36:28 PM »
am I able to make it so that they can only ban people below their rank?
Code: [Select]
ulx groupallow trialmoderator "ulx voteban" "!%trialmoderator 1~60"This is assuming your inheritance tree is linear, but that should work.
bw81@ulysses-forums ~ % whoami
Homepage