ULX

Author Topic: Restricting Custom Commands  (Read 1247 times)

0 Members and 1 Guest are viewing this topic.

Offline Invizibizle

  • Newbie
  • *
  • Posts: 1
  • Karma: 0
Restricting Custom Commands
« on: August 04, 2013, 10:06:08 AM »
Just a quick question here, and I've looked around and couldn't find any trace of a similar post, but how does one go about restricting a custom command to certain ranks?  I'm not sure if you restrict it like every other command or if there is another way, thanks!

Offline JamminR

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 8096
  • Karma: 390
  • Sertafide Ulysses Jenius
    • Team Ulysses [ULib/ULX, other fine releases]
Re: Restricting Custom Commands
« Reply #1 on: August 04, 2013, 12:49:17 PM »
Could you be a little more clear about what command you're trying to limit?
If it's a command that registers with ULX/written for ULX, you'd treat it like any other 'standard' ulx command.
If it's a command intended for another script or game mode, much of it depends on how it was written and ULX might not be able to control it.
"Though a program be but three lines long, someday it will have to be maintained." -- The Tao of Programming