General > Developers Corner
Denying Echoes To Others
WispySkies:
JamminR, thoughts?
JamminR:
Wispy, no need to rush for my thoughts. You and I are likely world time zones apart, and I'm not available here during weekdays GMT-5 from 23:45 to at least 18:00, and often much later.
There is no way to stop all ulx commands from echoing the chat portion.
I thought you were talking about commands you created, that you made.
Though you could disable echo mode in ULX settings, anyone using commands chat could still be seen saying "!blah".
You'd have to teach your admins/etc to use game console "ulx blah" in combo with echo off.
Logging would still occur.
--- Quote from: Storm on October 14, 2015, 09:49:12 AM ---local blind = ulx.command( CATEGORY_NAME, "ulx blind", ulx.blind, "!blind")
So how would you change this so the echo never shows,even when logecho is on?
--- End quote ---
You can't. You could only prevent the person using the chat command from being seen saying it. You'd still require echo being off to prevent echo of actions taken.
local blind = ulx.command( CATEGORY_NAME, "ulx blind", ulx.blind, "!blind", true)
WispySkies:
Sorry about that, I did not intend to rush you. Ill try that thanks! Although I was talking about both commands I made, etc. Storm, after looking at this that will work for you. Just when in game create a new group, not inherited from SA and then give it every command except the ULX Echo.
An Error Has Occurred!
array_keys(): Argument #1 ($array) must be of type array, null given
[0] Board index
Go to full version