Author Topic: Echoing commands only to admins?  (Read 2210 times)

0 Members and 1 Guest are viewing this topic.

Offline Your Stalker

  • Newbie
  • *
  • Posts: 10
  • Karma: -4
Echoing commands only to admins?
« on: August 12, 2014, 10:32:26 PM »
Hey, is it possible to set it up so that only admins and up can see command echoes? I don't want my moderators or bellow to see them though. Thanks :)

Offline JamminR

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 8096
  • Karma: 390
  • Sertafide Ulysses Jenius
    • Team Ulysses [ULib/ULX, other fine releases]
Re: Echoing commands only to admins?
« Reply #1 on: August 12, 2014, 10:42:13 PM »
"Though a program be but three lines long, someday it will have to be maintained." -- The Tao of Programming

Offline Your Stalker

  • Newbie
  • *
  • Posts: 10
  • Karma: -4
Re: Echoing commands only to admins?
« Reply #2 on: August 13, 2014, 08:11:20 AM »
No, what I'm asking about is say you do !slay jamminr it will show in chat "Your Stalker has slain JamminR" to everyone. Is there a way so that only admins will see that? Not everyone.

Offline Neku

  • Hero Member
  • *****
  • Posts: 549
  • Karma: 27
Re: Echoing commands only to admins?
« Reply #3 on: August 13, 2014, 10:07:27 AM »
The link JamminR posted is exactly what you're asking for.

Unless you're talking about not echoing existing commands such as slap and gag.
Out of the Garry's Mod business.

Offline Your Stalker

  • Newbie
  • *
  • Posts: 10
  • Karma: -4
Re: Echoing commands only to admins?
« Reply #4 on: August 13, 2014, 07:38:18 PM »
All what he posted did was hide the !slay name part of it. It doesn't hide the echo from guests.

Offline JamminR

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 8096
  • Karma: 390
  • Sertafide Ulysses Jenius
    • Team Ulysses [ULib/ULX, other fine releases]
Re: Echoing commands only to admins?
« Reply #5 on: August 13, 2014, 09:51:59 PM »
Though we made several echo modes, I don't believe we made one to totally hide it from one group but not another.
Closest you could get is mode 1, anonymous.

ulx logEcho 1 ; Echo mode
; Echo modes:
; 0 - OFF No output to any players when an admin command is used
; 1 - ANONYMOUS Output to players without access to see who used the command (admins by default) similar to "(Someone) slapped Bob with 0 damage"
; 2 - FULL Output to players similar to "Foo slapped Bob with 0 damage"

I _might_ be wrong in my understanding of our own mode though.
It's _possible_ mode 0 could be seen by admins, but not players.
"Though a program be but three lines long, someday it will have to be maintained." -- The Tao of Programming

Offline Neku

  • Hero Member
  • *****
  • Posts: 549
  • Karma: 27
Re: Echoing commands only to admins?
« Reply #6 on: August 13, 2014, 10:01:07 PM »
Are you perhaps looking for silent? I believe there's a way to do that in ulx.fancylogadmin.
Out of the Garry's Mod business.