Compare commits

...

4 Commits

Author SHA1 Message Date
jack77213 5bdd19cef0 merge 2020-08-03 17:13:13 +08:00
jack77213 35f2bc47e5 2020-08-03 17:06:38 +08:00
jack77213 e80f4e36ef 2020-08-03 17:06:26 +08:00
jack77213 da3d3f0b31 fix 2020-08-03 17:06:12 +08:00
2 changed files with 4 additions and 3 deletions

View File

@ -14,7 +14,7 @@ if (!isServer) exitWith {};
params ["_name", "_function", "_data"];
if (_name isEqualTo "a3tg") then
{
(format ["[TG] %2: %3", _function, _data]) remoteExecCall ["systemChat", -2, true];
(format ["[TG] %1: %2", _function, _data]) remoteExecCall ["systemChat", -2, true];
};
}];

View File

@ -1,4 +1,5 @@
params ["_name", "_message"];
"liba3tg" callExtension ["chat", [_name, _message]];
if ( !((_message select [0, 1]) isEqualTo "#") ) then {
"liba3tg" callExtension ["chat", [_name, _message]];
};