MCPcopy Create free account
hub / github.com/assaultcube/AC / echo

Function echo

source/src/client.cpp:244–253  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

242COMMAND(pm, "c");
243
244void echo(char *text)
245{
246 char *b, *s = strtok_r(text, "\n", &b);
247 do
248 {
249 conoutf("%s", s ? s : "");
250 s = strtok_r(NULL, "\n", &b);
251 }
252 while(s);
253}
254COMMAND(echo, "c");
255
256VARP(allowhudechos, 0, 1, 1);

Callers

nothing calls this directly

Calls 2

strtok_rFunction · 0.85
conoutfFunction · 0.70

Tested by

no test coverage detected