ULX

Author Topic: Make echo visible for players, but not when superadmin use it.  (Read 1669 times)

0 Members and 3 Guests are viewing this topic.

Offline machond

  • Newbie
  • *
  • Posts: 5
  • Karma: 0
Make echo visible for players, but not when superadmin use it.
« on: November 30, 2016, 02:53:28 PM »

Hey, I have a question. I made that players see the commands of other administrators (echo 2). However, I want to make the command superadministrator remain invisible.

I set echo to show echo and identify admin. But now i want make exception - if superadmin (or specify group) use command - then echo will be " (someone) slap Nickplayer."

How can i do this?

Thanks for help.

Offline JamminR

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 8096
  • Karma: 390
  • Sertafide Ulysses Jenius
    • Team Ulysses [ULib/ULX, other fine releases]
Re: Make echo visible for players, but not when superadmin use it.
« Reply #1 on: November 30, 2016, 03:03:44 PM »
ULX doesn't have this capability exactly as you want.
However, you could set mode to 1 and then grant groups you wanted to have see who did what while in echo mode 1 with "ulx seeanonymousechoes" access.
Those with that access will see all though, not just some admins but not others.
A bit more control than just using 2 however.

Good summary discussion -
See http://forums.ulyssesmod.net/index.php?topic=5998.30
Ignore the person who got mad at us for not asking proper questions.
Stickly's answer several below first post do a good job summarizing.
« Last Edit: November 30, 2016, 03:15:20 PM by JamminR »
"Though a program be but three lines long, someday it will have to be maintained." -- The Tao of Programming

Offline machond

  • Newbie
  • *
  • Posts: 5
  • Karma: 0
Re: Make echo visible for players, but not when superadmin use it.
« Reply #2 on: November 30, 2016, 04:33:36 PM »
Ok, i know that. But can i modify a little code in addon and change it to those i want?

I mean - is it possible to modify ulx to set it i want?

If yes, what i need to change?

Offline JamminR

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 8096
  • Karma: 390
  • Sertafide Ulysses Jenius
    • Team Ulysses [ULib/ULX, other fine releases]
Re: Make echo visible for players, but not when superadmin use it.
« Reply #3 on: November 30, 2016, 07:21:22 PM »
This isn't the section to discuss such code, nor would it be easy, or recommended, to change.
You'd have to make lots of changes every time ULX updated.
"Though a program be but three lines long, someday it will have to be maintained." -- The Tao of Programming