… | |
… | |
23 | */ |
23 | */ |
24 | |
24 | |
25 | #include <global.h> |
25 | #include <global.h> |
26 | #include <loader.h> |
26 | #include <loader.h> |
27 | #include <sproto.h> |
27 | #include <sproto.h> |
28 | |
|
|
29 | int |
|
|
30 | command_me (object *op, char *params) |
|
|
31 | { |
|
|
32 | char buf[MAX_BUF]; |
|
|
33 | |
|
|
34 | if (!params) |
|
|
35 | return 0; |
|
|
36 | snprintf (buf, MAX_BUF - 1, "%s %s", &op->name, params); |
|
|
37 | new_info_map (NDI_UNIQUE | NDI_BLUE, op->map, buf); |
|
|
38 | |
|
|
39 | return 0; |
|
|
40 | } |
|
|
41 | |
|
|
42 | |
28 | |
43 | int |
29 | int |
44 | command_cointoss (object *op, char *params) |
30 | command_cointoss (object *op, char *params) |
45 | { |
31 | { |
46 | char buf[MAX_BUF]; |
32 | char buf[MAX_BUF]; |