Author Topic: Get all ULX Ranks with a loop  (Read 1849 times)

0 Members and 1 Guest are viewing this topic.

Offline pieman88

  • Newbie
  • *
  • Posts: 10
  • Karma: 1
Get all ULX Ranks with a loop
« on: April 04, 2016, 02:17:40 PM »
Anybody know how I can do what I mentioned in the title? Since there's nearly no documentation whatsoever, I guess I'd just ask here.

Offline pieman88

  • Newbie
  • *
  • Posts: 10
  • Karma: 1
Re: Get all ULX Ranks with a loop
« Reply #1 on: April 04, 2016, 02:34:00 PM »
Nevermind, I found it by sifting through code.

For anybody who sees this in the future with the same question as me, use this:

Code: [Select]
xgui.data.groups

Offline JamminR

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 8096
  • Karma: 390
  • Sertafide Ulysses Jenius
    • Team Ulysses [ULib/ULX, other fine releases]
Re: Get all ULX Ranks with a loop
« Reply #2 on: April 04, 2016, 07:44:37 PM »
xgui actually isn't the best place to pull.
It's based on Ulib.
Ulib.ucl.groups
http://ulyssesmod.net/docs/files/lua/ulib/shared/sh_ucl-lua.html#ucl
"Though a program be but three lines long, someday it will have to be maintained." -- The Tao of Programming