| | 317 | | command_bind("echo", NULL, (SIGNAL_FUNC) cmd_echo);
| | | 318 | | command_bind("version", NULL, (SIGNAL_FUNC) cmd_version);
| | | 319 | | command_bind("cat", NULL, (SIGNAL_FUNC) cmd_cat);
| | | 320 | | command_bind("beep", NULL, (SIGNAL_FUNC) cmd_beep);
| | | 321 | | command_bind("uptime", NULL, (SIGNAL_FUNC) cmd_uptime);
| | | 322 | | command_bind_first("nick", NULL, (SIGNAL_FUNC) cmd_nick);
| | | 323 | | | | | 324 | | signal_add("send command", (SIGNAL_FUNC) event_command);
| | | 325 | | signal_add_last("send command", (SIGNAL_FUNC) event_command_last);
| | | 326 | | signal_add("default command", (SIGNAL_FUNC) event_default_command);
| | Wrong Number of Parameters | 327 | | signal_add("error command", (SIGNAL_FUNC) event_cmderror);
| | | 328 | | signal_add("list subcommands", (SIGNAL_FUNC) event_list_subcommands);
| | | 329 | | | | | 330 | | command_set_options("echo", "current +level +window");
| | | 331 | | } | | | 332 | | | | | 333 | | void fe_core_commands_deinit(void) | | | 334 | | { | | | 335 | | command_unbind("echo", (SIGNAL_FUNC) cmd_echo);
| | | 336 | | command_unbind("version", (SIGNAL_FUNC) cmd_version);
| | | 337 | | command_unbind("cat", (SIGNAL_FUNC) cmd_cat);
|
|