#include "matrix.qh"
#include <server/chat.qh>
Go to the source code of this file.
◆ MX_Handle()
Definition at line 5 of file matrix.qc.
6{
8 switch (type) {
9 case "m.room.message": {
10 string msgtype =
json_get(buf,
strcat(ancestor,
".content.msgtype"));
11 switch (msgtype) {
12 case "m.text": {
16 break;
17 }
18 }
19 break;
20 }
21 }
22}
ERASEABLE string json_get(int buf, string key)
strcat(_("^F4Countdown stopped!"), "\n^BG", _("Teams are too unbalanced."))
int Say(entity source, int teamsay, entity privatesay, string msgin, bool floodcontrol)
message "": do not say, just test flood control return value: 1 = accept 0 = reject -1 = fake accept
References json_get(), matrix_user, NULL, Say(), and strcat().