Ulysses

General => Developers Corner => Topic started by: confiscated on December 15, 2015, 09:47:14 PM

Title: Display text when a command is used?
Post by: confiscated on December 15, 2015, 09:47:14 PM
I am working on a small edit for noclip for my server, I am wanting a small text box or even just simply some text to appear on screen to let the user know that they have activated a command.

For example, my noclip auto cloaks upon using it. I want some text saying "You are now cloaked / godded" and once the uses comes out of noclip it'll say something like "You are now uncloaked / ungodded"

Is there a simple way to do this?

Thanks in advanced for any help given.
Title: Re: Display text when a command is used?
Post by: Megiddo on December 16, 2015, 03:18:56 AM
Sounds like you want ULib.tsay -- http://ulyssesmod.net/docs/files/lua/ulib/shared/messages-lua.html#tsay