Local Chat

Local Chat 2.1.0

Denizen Version
1.2.0-b1739-REL
Simply chat in game! The two versions of LOCAL CHAT function similarly, with one major difference; version 1.x.x has a hard cutoff point, and version 2.x.x removes characters over a distance. This means v1 is easier to understand, and easier to get started using, but has less flexibility, where as v2 can take a bit of elbow grease to get working the way you would want on your server. That being said, both of these scripts come with a set of defaults from the author (that's me!) and so you can always defer to that and simply use as is.

The download button defaults to version 2! Make sure to open "history" if you want version 1.

V1​

Any two players whose distance is smaller than whisper will be able to hear when they begin and end their message with whisper_chr. Any two players whose distance is smaller than talking will be able to hear each other with no issues. Be aware that the distance is a straight line, and will go through walls and the like. For two players whose distance is smaller than shouting will be able to hear each other, as long as the message is appended with an exclamation point. For two players whose distance is smaller than screaming will only be able to hear each other if the player is typing in all caps, and ending the message with an exclamation point. Any two players who are outside of the screaming of each other will no longer be able to hear each other at all.

V2​

Any player underneath a talking limit divided by the falloff_point ((talking_limit / falloff_point).round) will transmit all letters of their message. If they are above that value, but still underneath the talking limit, then characters will be removed from the message (Any character except space will be removed), until they've reached the talking limit, at which no message will be transmitted.

The whisper talking limit is when the message begins and ends with the whisper_chr. talking is any regular speech. shouting is when the text ends in an exclamation point, and screaming is ending in an exclamation while all the alphabetic characters are uppercase. Non-alphabetic characters count as uppercase.


Requires:
Author
jumpsplat120
Downloads
764
Views
1,128
First release
Last update
Rating
0.00 star(s) 0 ratings

More resources from jumpsplat120

Share this resource