Team Spartan Cookies & Milk Forums
Allow newlines for chat.tell() - Printable Version

+- Team Spartan Cookies & Milk Forums (https://teamscm.co.uk)
+-- Forum: Feedback (https://teamscm.co.uk/forum-9.html)
+--- Forum: Suggestions and improvements (https://teamscm.co.uk/forum-11.html)
+--- Thread: Allow newlines for chat.tell() (/thread-2906.html)



Allow newlines for chat.tell() - exoRift - 09-12-2018

I made a status command for my ship which lists all the attributes and stuff. I'm using `chat.tell()` instead of `print()` mainly because it can be used to message other users. One problem I have, though, is that `chat.tell()` doesn't support newlines (\n). So if I'm going to list a lot of info, it can get tough to follow.


RE: Allow newlines for chat.tell() - The17thDoctor - 11-12-2018

(09-12-2018, 03:46 PM)mets11rap Wrote: I made a status command for my ship which lists all the attributes and stuff. I'm using `chat.tell()` instead of `print()` mainly because it can be used to message other users. One problem I have, though, is that `chat.tell()` doesn't support newlines (\n). So if I'm going to list a lot of info, it can get tough to follow.

Well doing lots of \n would result in a spam in the chat, please also note that if the chat.tell is adressed to someone else, they will get a limited number of message per second
If you just want to print something only for you you should you printColor() else you will have to do multiple lines.