Team Spartan Cookies & Milk Forums
STARFALL: How to remove name before chat.tell? - Printable Version

+- Team Spartan Cookies & Milk Forums (https://teamscm.co.uk)
+-- Forum: Garry's Mod (https://teamscm.co.uk/forum-4.html)
+--- Forum: Help and Support (https://teamscm.co.uk/forum-8.html)
+--- Thread: STARFALL: How to remove name before chat.tell? (/thread-2781.html)



STARFALL: How to remove name before chat.tell? - shimmyjewtron - 22-08-2018

When I use
chat.tell(player,"[]: example");
it outputs "(tscm.Terrorbyte) []: example" is there anyway to remove it or change it? Thanks.


RE: STARFALL: How to remove name before chat.tell? - Red The Blue Color - 22-08-2018

Sadly no its meant so people can't mimic chat though I think a starfall star and printing the name in console would suffice (atleast as an option for people)

EDIT: if you are using it on yourself though you can just use printColor


RE: STARFALL: How to remove name before chat.tell? - shimmyjewtron - 23-08-2018

someone has already done it i saw a star instead of it


RE: STARFALL: How to remove name before chat.tell? - Red The Blue Color - 23-08-2018

(23-08-2018, 12:37 AM)shimmyjewtron Wrote: someone has already done it i saw a star instead of it

The star ones are just printColors not chat.tell


RE: STARFALL: How to remove name before chat.tell? - Skeleton - 23-08-2018

I think a star or a letter icon would suffice aswell. Adding the name in front makes it kinda looks bad.

Maybe the player name could be put in console log. I quibble though.



RE: STARFALL: How to remove name before chat.tell? - Person8880 - 23-08-2018

Part of the reason for this is to stop people faking chat messages, but it's also so that there's a clear indication of who the message is coming from. A star or icon wouldn't indicate that, and I doubt everyone will know to check the console for it.