I believe he means not showing the "!slap" command in chat when he types it. Remove the text so i doesn't show. I don't believe this comes with ULX/ULib on default, but easy to change. I've had to help someone with this before.
In file <gmod folder>/addons/ulib/lua/ulib/server/concommand.lua change line 68 to this:
return ""
So the whole function will look like this:
local function sayCmdCheck( ply, strText, bTeam )
local match
for str, data in pairs( ULib.sayCmds ) do
local str2 = str
if strText:len() < str:len() then -- Go ahead and allow commands w/o spaces
str2 = string.Trim( str )
end
if strText:sub( 1, str2:len() ):lower() == str2 then
if not match or match:len() <= str:len() then -- Don't rematch if there's a more specific one already.
match = str
end
end
end
if match then -- We've got a winner!
local data = ULib.sayCmds[ match ]
local args = string.Trim( strText:sub( match:len() + 1 ) ) -- Strip the caller command out
local argv = ULib.splitArgs( args )
-- ULib command callback
if data.__cmd then
local return_value = hook.Call( ULib.HOOK_COMMAND_CALLED, _, ply, data.__cmd, argv )
if return_value == false then
return nil
end
end
if not ULib.ucl.query( ply, data.access ) then
ULib.tsay( ply, "You do not have access to this command, " .. ply:Nick() .. "." )
-- Print their name to intimidate them :)
return "" -- Block from appearing
end
local fn = data.fn
local hide = data.hide
ULib.pcallError( fn, ply, match:Trim(), argv, args )
return ""
end
return nil
end