… | |
… | |
159 | typedef struct |
159 | typedef struct |
160 | { |
160 | { |
161 | char namebuf[MAX_BUF]; |
161 | char namebuf[MAX_BUF]; |
162 | int login_order; |
162 | int login_order; |
163 | } chars_names; |
163 | } chars_names; |
164 | |
|
|
165 | int |
|
|
166 | command_afk (object *op, char *params) |
|
|
167 | { |
|
|
168 | if ((op->contr->ns->afk = !op->contr->ns->afk)) |
|
|
169 | new_draw_info (NDI_UNIQUE, 0, op, "You are no longer AFK"); |
|
|
170 | else |
|
|
171 | new_draw_info (NDI_UNIQUE, 0, op, "You are now AFK"); |
|
|
172 | |
|
|
173 | return 1; |
|
|
174 | } |
|
|
175 | |
164 | |
176 | int |
165 | int |
177 | command_mapinfo (object *op, char *params) |
166 | command_mapinfo (object *op, char *params) |
178 | { |
167 | { |
179 | current_map_info (op); |
168 | current_map_info (op); |