Closed peppewarrior1 closed 1 year ago
1st question: use setInterval, which works the same as setTimeout except it runs every X milliseconds. 2nd question: It is not really easy to do in my script, but you would have to hide every message sent (return false in the function onPlayerChat) and resend it as an announcement with the properties you want.
I'm sorry again for the inconvenience ... unfortunately there is very little information and it is dated ...
First question: I would like to understand how to send announcements automatically every now and then like some rooms do... I haven't found anything around that satisfies me... Second question: I would like the admins and masters to have a different color when they write in the chat... can this be done?
Sorry again for the inconvenience...