Author Topic: Command Notifications  (Read 2086 times)

0 Members and 1 Guest are viewing this topic.

Offline assface33

  • Newbie
  • *
  • Posts: 2
  • Karma: 0
Command Notifications
« on: March 25, 2016, 07:33:29 PM »
I just want to know if there is any way to prevent people of certain ranks to not see certain commands.  For example, preventing admins and below to see who is getting marked as a traitor in TTT.   I guarantee I am not the only one to ask this, but I could not find a discussion on it here. Thank you.

Offline JamminR

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 8096
  • Karma: 390
  • Sertafide Ulysses Jenius
    • Team Ulysses [ULib/ULX, other fine releases]
Re: Command Notifications
« Reply #1 on: March 25, 2016, 09:03:01 PM »
As we do not write any TTT code into ULX, you likely need to ask whatever author that wrote your TTT code to remove or adjust notifications.
That being said;
There is no way with default ULX commands (ie, stuff we wrote into ULX) to have only 'some' commands seen but not others.
ULX does allow for different levels of notification echo (none/anonymous/full), and then allows group access to commands not normally echoed fully (certain group could see the anonymous command runner, but lower could only still see anonymous), but not on individual commands.
Questions about echo and the echo levels have indeed been asked and answered elsewhere.
"Though a program be but three lines long, someday it will have to be maintained." -- The Tao of Programming

Offline Bytewave

  • Respected Community Member
  • Hero Member
  • *****
  • Posts: 718
  • Karma: 116
  • :)
    • My Homepage
Re: Command Notifications
« Reply #2 on: March 26, 2016, 08:11:10 AM »
As we do not write any TTT code into ULX, you likely need to ask whatever author that wrote your TTT code to remove or adjust notifications.
That being said;
There is no way with default ULX commands (ie, stuff we wrote into ULX) to have only 'some' commands seen but not others.
ULX does allow for different levels of notification echo (none/anonymous/full), and then allows group access to commands not normally echoed fully (certain group could see the anonymous command runner, but lower could only still see anonymous), but not on individual commands.
Questions about echo and the echo levels have indeed been asked and answered elsewhere.
Well, there's always silent commands and the silent echo permission. That might work for OP, but it does require modifying stock ULX code if he wanted it for stock ULX commands.
bw81@ulysses-forums ~ % whoami
Homepage

Offline JamminR

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 8096
  • Karma: 390
  • Sertafide Ulysses Jenius
    • Team Ulysses [ULib/ULX, other fine releases]
Re: Command Notifications
« Reply #3 on: March 26, 2016, 10:56:48 AM »
does require modifying stock ULX code if he wanted it for stock ULX commands.
There is no way with default ULX commands (ie, stuff we wrote into ULX) to have only 'some' commands seen but not others.

As stated, default ULX.
We never recommend modifying ULX code, as then you'd have to modify it every time we updated.
We wrote ULib commands to allow pre and post command execution (or prevent ours) for a reason.
Write your own module, look for certain commands, don't have to update when we do.
"Though a program be but three lines long, someday it will have to be maintained." -- The Tao of Programming