Author Topic: Admin-Only Echoes  (Read 2272 times)

0 Members and 1 Guest are viewing this topic.

Offline Decicus

  • Hero Member
  • *****
  • Posts: 552
  • Karma: 81
    • Alex Thomassen
Admin-Only Echoes
« on: November 07, 2013, 07:45:18 AM »
Just to start off, I've searched on the forums and I found some posts, but I didn't find anything that could help revolving around my question.

Let's say I made a command, I have it logged and it runs silently. Only superadmins can see that someone did the command. Now let's say I want to keep it the way that everyone can see some commands in the chat with echo mode set to 1 (You know, anonymous output), but I still want normal admins to see who did that command (and only that command) without giving them access to see what normally would be silent commands. (Let's hope my explanation isn't really confusing)

My main question is simple: Is this possible without manually adding something to check if IsAdmin is true and then print a message using ChatPrint or similar?
Contact information:
E-mail: alex@thomassen.xyz.
You can also send a PM.

Offline JamminR

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 8096
  • Karma: 390
  • Sertafide Ulysses Jenius
    • Team Ulysses [ULib/ULX, other fine releases]
Re: Admin-Only Echoes
« Reply #1 on: November 07, 2013, 05:00:19 PM »
98% sure answer is 'no' to ULX allowing/having access by default.
Yes, custom code would be required.
We wrote the 'see' access to either see or not see the silent commands, not any in the middle.
Folks like you just have to push the limits..darn you creative ULX users.
:P


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

Offline Decicus

  • Hero Member
  • *****
  • Posts: 552
  • Karma: 81
    • Alex Thomassen
Re: Admin-Only Echoes
« Reply #2 on: November 07, 2013, 10:40:16 PM »
That's what I thought, it's not a big deal, I just had to make sure.
Thanks, JamminR!
Contact information:
E-mail: alex@thomassen.xyz.
You can also send a PM.

Offline Megiddo

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 6214
  • Karma: 394
  • Project Lead
Re: Admin-Only Echoes
« Reply #3 on: November 08, 2013, 10:25:16 AM »
It's hard to make something infinitely configurable. :)

I like your idea, though! I'm just not sure how to make configuration of something like that intuitive.
Experiencing God's grace one day at a time.

Offline Decicus

  • Hero Member
  • *****
  • Posts: 552
  • Karma: 81
    • Alex Thomassen
Re: Admin-Only Echoes
« Reply #4 on: November 08, 2013, 10:33:50 AM »
It wasn't necessarily meant as a suggestion, more that I just needed to know if it was possible to do the whole "only print to admins without giving them see-silent access" some other way that was built into ULX. It would be cool if it was, but it's probably not even worth the effort.

And hey, Megiddo. Just so you know, English isn't my first language. So I'd like to know if you could say this sentence in a different way so I can understand it?
I'm just not sure how to make configuration of something like that intuitive.
Contact information:
E-mail: alex@thomassen.xyz.
You can also send a PM.

Offline Megiddo

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 6214
  • Karma: 394
  • Project Lead
Re: Admin-Only Echoes
« Reply #5 on: November 08, 2013, 11:27:45 AM »
You speak very well for not speaking English as your primary language, Decicus. I know you've mentioned it several times, but your writing makes it easy to forget. :)

I just meant that if we were to implement your request in ULX, I can't think of any way to do it well. We like to make ULX easy to use, but this would be a difficult feature to get the users to understand.
« Last Edit: November 08, 2013, 12:41:39 PM by Megiddo »
Experiencing God's grace one day at a time.

Offline Decicus

  • Hero Member
  • *****
  • Posts: 552
  • Karma: 81
    • Alex Thomassen
Re: Admin-Only Echoes
« Reply #6 on: November 08, 2013, 12:21:14 PM »
Fair enough, and yeah, I completely understand what you mean.
Contact information:
E-mail: alex@thomassen.xyz.
You can also send a PM.