… | |
… | |
45 | {"party", command_party, 0.0}, |
45 | {"party", command_party, 0.0}, |
46 | {"gsay", command_gsay, 1.0}, |
46 | {"gsay", command_gsay, 1.0}, |
47 | |
47 | |
48 | {"apply", command_apply, 1.0}, /* should be variable */ |
48 | {"apply", command_apply, 1.0}, /* should be variable */ |
49 | {"applymode", command_applymode, 1.0}, /* should be variable */ |
49 | {"applymode", command_applymode, 1.0}, /* should be variable */ |
50 | {"archs", command_archs, 0.0}, |
|
|
51 | {"body", command_body, 0.0}, |
50 | {"body", command_body, 0.0}, |
52 | {"brace", command_brace, 0.0}, |
51 | {"brace", command_brace, 0.0}, |
53 | {"cast", command_cast, 0.2}, /* Is this right? */ |
52 | {"cast", command_cast, 0.2}, /* Is this right? */ |
54 | {"disarm", command_disarm, 1.0}, |
53 | {"disarm", command_disarm, 1.0}, |
55 | {"dm", command_dm, 0.0}, |
54 | {"dm", command_dm, 0.0}, |
… | |
… | |
204 | {"learn_special_prayer", command_learn_special_prayer, 0.0}, |
203 | {"learn_special_prayer", command_learn_special_prayer, 0.0}, |
205 | {"learn_spell", command_learn_spell, 0.0}, |
204 | {"learn_spell", command_learn_spell, 0.0}, |
206 | #ifdef DEBUG_MALLOC_LEVEL |
205 | #ifdef DEBUG_MALLOC_LEVEL |
207 | {"verify", command_malloc_verify, 0.0}, |
206 | {"verify", command_malloc_verify, 0.0}, |
208 | #endif |
207 | #endif |
209 | {"players", command_players, 0.0}, |
|
|
210 | {"plugin", command_loadplugin, 0.0}, |
208 | {"plugin", command_loadplugin, 0.0}, |
211 | {"pluglist", command_listplugins, 0.0}, |
209 | {"pluglist", command_listplugins, 0.0}, |
212 | {"plugout", command_unloadplugin, 0.0}, |
210 | {"plugout", command_unloadplugin, 0.0}, |
213 | {"nodm", command_nowiz, 0.0}, |
211 | {"nodm", command_nowiz, 0.0}, |
214 | {"nowiz", command_nowiz, 0.0}, |
212 | {"nowiz", command_nowiz, 0.0}, |
… | |
… | |
234 | */ |
232 | */ |
235 | CommArray_s Socket_Commands[] = { |
233 | CommArray_s Socket_Commands[] = { |
236 | {"hiscore", command_hiscore, 0.0}, |
234 | {"hiscore", command_hiscore, 0.0}, |
237 | {"logs", command_logs, 0.0}, |
235 | {"logs", command_logs, 0.0}, |
238 | {"motd", command_motd, 0.0}, |
236 | {"motd", command_motd, 0.0}, |
239 | {"players", command_players, 0.0}, |
|
|
240 | {"version", command_version, 0.0}, |
237 | {"version", command_version, 0.0}, |
241 | }; |
238 | }; |
242 | const int Socket_CommandsSize = sizeof (Socket_Commands) / sizeof (CommArray_s); |
239 | const int Socket_CommandsSize = sizeof (Socket_Commands) / sizeof (CommArray_s); |
243 | |
240 | |
244 | /* Socket commands - these should really do nothing more than output things |
241 | /* Socket commands - these should really do nothing more than output things |