#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.
References json_get(), matrix_user, NULL, Say(), and strcat().
9 case "m.room.message": {
10 string msgtype =
json_get(buf,
strcat(ancestor,
".content.msgtype"));
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 ...
ERASEABLE string json_get(int buf, string key)
spree_cen s1 spree_cen s1 spree_cen s1 spree_cen s1 spree_cen s1 spree_cen s1 spree_cen s1 f1 s1 strcat(_("Level %s: "), "^BG%s\3\, _("^BGPress ^F2%s^BG to enter the game"))