@@ -63,27 +63,27 @@ Name = "Helix - Bypass OOC Timer",
6363-- -- message can be heard by any player 1000 units away from the speaking player
6464-- CanHear = 1000
6565-- OR
66- -- CanHear = function(self, speaker, listener)
66+ -- CanHear = function(self, speaker, listener, data )
6767-- -- the speaking player will be heard by everyone
6868-- return true
6969-- end
7070-- @field [type=function,opt] CanSay Function to run to check whether or not a player can send a message with this chat class.
7171-- By default, it will return `false` if the player is dead and `deadCanChat` is `false`. Overriding this function will prevent
7272-- `deadCanChat` from working, and you must implement this functionality manually.
73- -- CanSay = function(self, speaker, text)
73+ -- CanSay = function(self, speaker, text, data )
7474-- -- the speaker will never be able to send a message with this chat class
7575-- return false
7676-- end
7777-- @field [type=function,opt] GetColor Function to run to set the color of a message with this chat class. You should generally
7878-- stick to using `color`, but this is useful for when you want the color of the message to change with some criteria.
79- -- GetColor = function(self, speaker, text)
79+ -- GetColor = function(self, speaker, text, data )
8080-- -- each message with this chat class will be colored a random shade of red
8181-- return Color(math.random(120, 200), 0, 0)
8282-- end
8383-- @field [type=function,opt] GetFont Function to run to set the font of a message with this chat class. You should generally
8484-- stick to using `font`, but this is useful for when you want the font of the message to change with some criteria.
8585-- GetFont = function(self, speaker, text, data)
86- -- -- each message with this chat class will use whatever the `w` class uses, or the standard fallback ` ixChatFont` .
86+ -- -- each message with this chat class will use whatever the "w" class uses, or the standard fallback " ixChatFont" .
8787-- return ix.chat.classes.w.font or "ixChatFont"
8888-- end
8989-- @field [type=function,opt] OnChatAdd Function to run when a message with this chat class should be added to the chatbox. If
0 commit comments