Ulysses
Welcome,
Guest
. Please
login
or
register
.
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
Home
Help
Search
Login
Register
Ulysses
»
Ulysses Stuff
»
General Chat & Help and Support
»
How to make chat command not pop up in chat when typed.
« previous
next »
Print
Pages: [
1
]
Go Down
Author
Topic: How to make chat command not pop up in chat when typed. (Read 1687 times)
0 Members and 1 Guest are viewing this topic.
xXPANAGE28
Newbie
Posts: 10
Karma: 0
How to make chat command not pop up in chat when typed.
«
on:
February 07, 2014, 03:56:45 PM »
Hello there.
Usually when ever you would send a pm, you would type !p <recipient> <message> then send it, and what you typed wouldn't show up in chat.
Here is my private chat:
And here is my slay:
As you see it shows in chat what i typed for slay but not in pm, and I want it to not show for slay either. Anyone know the line of code required to make it invisible?
Logged
Cobalt
Full Member
Posts: 216
Karma: 44
http://steamcommunity.com/id/__yvl/
Re: How to make chat command not pop up in chat when typed.
«
Reply #1 on:
February 07, 2014, 05:25:46 PM »
In any ulx command code you will find this:
local var = ulx.command( CATEGORY_NAME, "command_name", function_name, "!chat_command", true )
Add the true at the end to hide the chat message.
Logged
xXPANAGE28
Newbie
Posts: 10
Karma: 0
Re: How to make chat command not pop up in chat when typed.
«
Reply #2 on:
February 08, 2014, 11:12:49 AM »
Thanks for the help. Problem has been solved!
Logged
Print
Pages: [
1
]
Go Up
« previous
next »
Ulysses
»
Ulysses Stuff
»
General Chat & Help and Support
»
How to make chat command not pop up in chat when typed.