• Print

Author Topic: Master list of ulx functions?  (Read 16 times)

0 Members and 1 Guest are viewing this topic.

Offline JamminR

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 8096
  • Karma: 390
  • Sertafide Ulysses Jenius
    • Team Ulysses [ULib/ULX, other fine releases]
Master list of ulx functions?
« on: October 14, 2009, 04:24:09 pm »
Ok, now that I have your attention and you're thinking 'Why is JamminR asking about "ulx help" ' -

Setup;
While reading the latest post in the "Immunity; how it works now" thread... an idea struck me.
Bennie showed a user how to go about giving a group access to something then denying another group.
BUT, he, and even I, wasn't sure what the physgun command was. (ulx physgunplayer)
Though most commands are in help, there are a few key commands, such as ulx physgunplayer, that aren't listed, and rightly so since you wouldn't execute that command during normal game play.

My idea/question;
Is there a master table of all commands, even those not in help, stored in a table within ulx (or ulib)?
If so, would it be much more coding to allow the autocomplete of the allow<user|group> and deny<user|group> to show those commands after typing the player name, but not show when just typing in the console ] ulx <--?>

"Though a program be but three lines long, someday it will have to be maintained." -- The Tao of Programming

Offline Megiddo

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 6214
  • Karma: 394
  • Project Lead
Re: Master list of ulx functions?
« Reply #1 on: October 15, 2009, 06:49:55 am »
There is now a help string associated with each access string explaining what it does. It's going to be used in XGUI. :)
Experiencing God's grace one day at a time.

Offline JamminR

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 8096
  • Karma: 390
  • Sertafide Ulysses Jenius
    • Team Ulysses [ULib/ULX, other fine releases]
Re: Master list of ulx functions?
« Reply #2 on: October 15, 2009, 03:31:16 pm »
But could it be used as the access string autocomplete?
ulx allowuser <user> "<access string>"
Have <access string> auto complete...and sure, add the help string show until the closing quote is typed or full string selected.
"Though a program be but three lines long, someday it will have to be maintained." -- The Tao of Programming

Offline Megiddo

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 6214
  • Karma: 394
  • Project Lead
Re: Master list of ulx functions?
« Reply #3 on: October 15, 2009, 04:33:24 pm »
Good point, I'll look into it. :)
Experiencing God's grace one day at a time.

  • Print