ULX

Author Topic: Help me make a code?  (Read 2617 times)

0 Members and 1 Guest are viewing this topic.

Offline chadreed93

  • Newbie
  • *
  • Posts: 4
  • Karma: 0
Help me make a code?
« on: August 10, 2013, 08:28:54 PM »
I want a code to were someone joins the server, and if they are not on the "elite" ulx usergroup, the disconnect/are not allowed to join. Can anyone help me whip something up?

Thanks :)

Offline MrPresident

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 2728
  • Karma: 430
    • |G4P| Gman4President
Re: Help me make a code?
« Reply #1 on: August 11, 2013, 06:39:25 AM »
« Last Edit: August 11, 2013, 07:19:32 AM by MrPresident »

Offline JamminR

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 8096
  • Karma: 390
  • Sertafide Ulysses Jenius
    • Team Ulysses [ULib/ULX, other fine releases]
Re: Help me make a code?
« Reply #2 on: August 11, 2013, 12:16:55 PM »
Though a quick release like that is fun, I guess technically one could set "ulx rslots" = sbox_maxplayers, and then give only those players you want joining "ulx reservedslots" access.
:)
"Though a program be but three lines long, someday it will have to be maintained." -- The Tao of Programming

Offline MrPresident

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 2728
  • Karma: 430
    • |G4P| Gman4President
Re: Help me make a code?
« Reply #3 on: August 11, 2013, 12:17:35 PM »
touche, salesman...

Though this would allow you to have both a whitelist AND reserved slots.

Offline JamminR

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 8096
  • Karma: 390
  • Sertafide Ulysses Jenius
    • Team Ulysses [ULib/ULX, other fine releases]
Re: Help me make a code?
« Reply #4 on: August 11, 2013, 12:19:26 PM »
True!

Bah- Ban them all! Let Ulib sort out the rest!
:P
"Though a program be but three lines long, someday it will have to be maintained." -- The Tao of Programming