Author Topic: Hiding chat messages?  (Read 1663 times)

What I was thinking of is like
I make a script that when I type !hi it puts "hello" in the chat(not actually what it does but it'll work)
I want to make it so that when I type "!hi", itll still put "hello" into the chat but the "!hi" wont show up.
Kind of confusing but thats pretty much what I wanted.

client or server sided


You can execute a line after an if statement (with no brackets) ONLY as long as it's one line (one command/one statement).
To clarify this in more correct terms:
If you do not put any braces after an if statement, only one statement (up to the next ;) will be executed as part of the if statement.