FapFap 13 Report post Posted December 5, 2018 Can someone help me to deny player talk more than 100 letters on localchat?! Server-side.. Quote Share this post Link to post Share on other sites
Faller 93 Report post Posted December 5, 2018 13 hours ago, FapFap said: Can someone help me to deny player talk more than 100 letters on localchat?! Server-side.. Hi! I just made this up for you, works fine in my side. Quote if string.len(message) > 100 then BickerNotice(role,"<Chat> Message too long!") return false end Paste in the beginning of your ChatHandler function. Btw, if I may ask, why are you applying such limitation? Quote Share this post Link to post Share on other sites
FapFap 13 Report post Posted December 5, 2018 23 minutes ago, Faller said: Hi! I just made this up for you, works fine in my side. Paste in the beginning of your ChatHandler function. Btw, if I may ask, why are you applying such limitation? My gameserver aint using chathandler.. rip x.x I would tell you but can't make it public Quote Share this post Link to post Share on other sites
Faller 93 Report post Posted December 5, 2018 1 minute ago, FapFap said: My gameserver aint using chathandler.. rip x.x I would tell you but can't make it public I don't think it will be possible through Lua then :/ Quote Share this post Link to post Share on other sites
FapFap 13 Report post Posted December 5, 2018 1 minute ago, Faller said: I don't think it will be possible through Lua then :/ someone told me it can be prevented through lua Quote Share this post Link to post Share on other sites
Faller 93 Report post Posted December 5, 2018 Just now, FapFap said: someone told me it can be prevented through lua Through ChatHandler, for sure, that's the only connection between Local Chat and Lua Quote Share this post Link to post Share on other sites
joebin99 0 Report post Posted December 8, 2018 @FapFap Mr faller is correct. Quote Share this post Link to post Share on other sites